ID:               27352
 User updated by:  tip at tut dot by
 Reported By:      tip at tut dot by
 Status:           Bogus
 Bug Type:         CGI related
 Operating System: Windows
 PHP Version:      4.3.5RC3
 New Comment:

Yes, it is a windows limitation, but there must be workaroud or at
least official note on this behavior in PHP manual.


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

[2004-02-22 11:57:32] [EMAIL PROTECTED]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

>From what I know is this a Windows limitation, not a PHP one.

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

[2004-02-22 11:45:58] tip at tut dot by

Description:
------------
I don't know if it is an omission in manual but while executing next
string from "Chapter 8. Using PHP from the command line", an error
occured.





Reproduce code:
---------------
php -r 'print_r(get_defined_constants());'

Expected result:
----------------
php -r "print_r(get_defined_constants());"

Array

(

    [E_ERROR] => 1

    [E_WARNING] => 2

    [E_PARSE] => 4

...

Actual result:
--------------
PHP Parse error:  parse error, unexpected $end in Command line code on
line 1



Parse error: parse error, unexpected $end in Command line code on line
1


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


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

Reply via email to