[TxMt] Re: Use PHP with "Executing Line Inserting Result ^R" feature ?

Mario "Kuroir" Ricalde kuroir at gmail.com
Thu Oct 7 00:31:34 UTC 2010


Why do you want to do it with PHP? I mean, what's the objective?

Just to let you know DAYNAMES is a constant which points to an array which
contains the day names..

["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday",
"Saturday"]


*
--
Mario "Kuroir" Ricalde
Developer at Destructoid.com
*


On Wed, Oct 6, 2010 at 5:41 PM, Hans-Jörg Bibiko <bibiko at eva.mpg.de> wrote:

>
> On Oct 7, 2010, at 12:17 AM, Sebastian Reiter wrote:
>
> > Hi,
> >
> > I know that this feature can be used with ruby like so:
> > ruby -rDate -e "puts Date::DAYNAMES" => ^R => done
> >
> > Can I use PHP functions in a similiar way?
> > php ??????????
>
> Maybe try :
>
> php -r 'echo strtok("an.example",".").":";echo strtok(".");'
>
>
> and press ⌃R
>
>
> Cheers,
> --Hans
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20101006/e020dc0d/attachment.html>


More information about the textmate mailing list