Edit report at https://bugs.php.net/bug.php?id=60358&edit=1

 ID:                 60358
 Updated by:         larue...@php.net
 Reported by:        mapi at pdepend dot org
 Summary:            Output of var_dump() has changed
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Variables related
 Operating System:   Ubuntu 11.10
 PHP Version:        5.4.0RC1
 Block user comment: N
 Private report:     N

 New Comment:

Please try using this snapshot:

  http://snaps.php.net/php5.4-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

I can not reproduce this with 5.4-trunk.


Previous Comments:
------------------------------------------------------------------------
[2011-11-22 09:41:41] mapi at pdepend dot org

Description:
------------
Maybe it's not a bug, but a behavior change. With all PHP versions prior to 
5.4.0 
the output of var_dump() for a simple string was enclosed by double quotes. 
With 
5.4.0 this has changed and the string is now enclosed by single quotes, except 
the string already contains a single quote

Test script:
---------------
php -r 'var_dump("Manuel");'

Expected result:
----------------
string(6) "Manuel"

Actual result:
--------------
string(6) 'Manuel'


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



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

Reply via email to