cvs: php-src /tests/lang bug24658.phpt
| From: | Marcus Boerger | Date: | Sat, 16 Aug 2003 18:28:20 +0000 |
| Subject: | cvs: php-src /tests/lang bug24658.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-23232@lists.php.net to get a copy of this message | ||
helly Sat Aug 16 14:28:20 2003 EDT
Modified files:
/php-src/tests/lang bug24658.phpt
Log:
Add some debug help
Index: php-src/tests/lang/bug24658.phpt
diff -u php-src/tests/lang/bug24658.phpt:1.2 php-src/tests/lang/bug24658.phpt:1.3
--- php-src/tests/lang/bug24658.phpt:1.2 Sat Aug 9 15:19:14 2003
+++ php-src/tests/lang/bug24658.phpt Sat Aug 16 14:28:20 2003
@@ -21,9 +21,13 @@
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) {
}
+===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) {
}