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
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@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@lists.macromates.com http://lists.macromates.com/listinfo/textmate