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) {
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php