]> granicus.if.org Git - php/commitdiff
Add some debug help
authorMarcus Boerger <helly@php.net>
Sat, 16 Aug 2003 18:28:20 +0000 (18:28 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 16 Aug 2003 18:28:20 +0000 (18:28 +0000)
tests/lang/bug24658.phpt

index 89d5cc15fb7eecf634fad2748cb9808fd8a288db..399fd32cac7ddba5983fa674f41d2dec66a06f3d 100644 (file)
@@ -21,9 +21,13 @@ no_typehint($v);
 typehint($v);
 no_typehint_ref($v);
 typehint_ref($v);
+echo "===no_typehint===\n";
 array_walk($a, 'no_typehint');
+echo "===no_typehint_ref===\n";
 array_walk($a, 'no_typehint_ref');
+echo "===typehint===\n";
 array_walk($a, 'typehint');
+echo "===typehint_ref===\n";
 array_walk($a, 'typehint_ref');
 ?>
 --EXPECTF--
@@ -35,14 +39,17 @@ object(foo)#%d (0) {
 }
 object(foo)#%d (0) {
 }
+===no_typehint===
 object(foo)#%d (0) {
 }
 int(1)
 int(2)
+===no_typehint_ref===
 object(foo)#%d (0) {
 }
 int(1)
 int(2)
+===typehint===
 object(foo)#%d (0) {
 }