ID:               49321
 Updated by:       der...@php.net
 Reported By:      andrew at ajohnstone dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Date/time related
 Operating System: Debian
 PHP Version:      5.2.10
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Can't use single quotes for both shell escapes and PHP strings... the
shell gets confused.


Previous Comments:
------------------------------------------------------------------------

[2009-08-21 15:15:34] andrew at ajohnstone dot com

Description:
------------
Warning: Division by zero in Command line code on line 1
on strtotime

Reproduce code:
---------------
php -r 'var_dump(strtotime('21/08/2009'));'

Warning: Division by zero in Command line code on line 1

Call Stack:
    0.0001     100992   1. {main}() Command line code:0

bool(false)


Expected result:
----------------
php -r 'var_dump(strtotime('21/08/2009'));'
bool(false)


Actual result:
--------------
Warning: Division by zero in Command line code on line 1

Call Stack:
    0.0001     100992   1. {main}() Command line code:0
bool(false)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=49321&edit=1

Reply via email to