cvs: php4 /tests/lang bug20175.phpt

From: Date: Mon, 04 Nov 2002 17:12:22 +0000
Subject: cvs: php4 /tests/lang bug20175.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-15779@lists.php.net to get a copy of this message
helly Mon Nov 4 12:12:22 2002 EDT Modified files: /php4/tests/lang bug20175.phpt Log: 2nd wow returns different results with ZE1/ZE2 Index: php4/tests/lang/bug20175.phpt diff -u php4/tests/lang/bug20175.phpt:1.2 php4/tests/lang/bug20175.phpt:1.3 --- php4/tests/lang/bug20175.phpt:1.2 Mon Nov 4 11:46:28 2002 +++ php4/tests/lang/bug20175.phpt Mon Nov 4 12:12:21 2002 @@ -48,7 +48,10 @@ /* Part 3: * Storing a reference to the result of a function in a static variable. - * Same as Part 2 but wow_global() returns a reference. + * Same as Part 2 but wow_global() returns a reference so $wow_value + * should store a reference to $wow_global. Therefor $wow_value is already + * initialised in second call to wow_static() and hence shouldn't call + * wow_global() again. */ $wow_global = 0; $wow_name = ''; @@ -82,4 +85,4 @@ bar:1 bar:2 wow:1 -wow:2 +wow:1

« previous php.cvs (#15779) next »