#42277 [NEW]: bug in processing commentary

From: Date: Sun, 12 Aug 2007 13:30:21 +0000
Subject: #42277 [NEW]: bug in processing commentary
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-115990@lists.php.net to get a copy of this message
From: partyspb at yandex dot ru Operating system: FreeBSD 6.1-RELEASE PHP version: 5.2.4RC1 PHP Bug Type: *General Issues Bug description: bug in processing commentary Description: ------------ PHP 5.2.3 bug in processing commentary code: $my_var='1'; function my_fun() {//my text (I use russian) GLOBAL $my_var; $var=$my_var; echo $var; } my_fun(); return: Notice: Undefined variable: $my_var ....... (don't job "GLOBAL") but if replace //my text to /* my text */ return: 1 -- Edit bug report at http://bugs.php.net/?id=42277&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42277&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42277&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42277&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=42277&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=42277&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=42277&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=42277&r=needscript Try newer version: http://bugs.php.net/fix.php?id=42277&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=42277&r=support Expected behavior: http://bugs.php.net/fix.php?id=42277&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=42277&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=42277&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=42277&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42277&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=42277&r=dst IIS Stability: http://bugs.php.net/fix.php?id=42277&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=42277&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=42277&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=42277&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=42277&r=mysqlcfg

« previous php.bugs (#115990) next »