Jump to content

Online Tool to See what PHP outputs server side?


Novice@PHP

Recommended Posts

php -r '$tomorrow  = mktime(0, 0, 0, date("m")  , date("d")+1, date("Y")); echo $tomorrow; '

 

above is tested on Linux, for some reason, if you are on Windows you should do:

 

php -r "$tomorrow  = mktime(0, 0, 0, date('m')  , date('d')+1, date('Y')); echo $tomorrow; "

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.