summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2004-01-09 13:55:02 +0000
committerStanislav Malyshev <stas@php.net>2004-01-09 13:55:02 +0000
commit209497cfdf342af332058852557249f591abb65e (patch)
treea0036d77d2c4b2ed4be30c4d17089d62d4f79a0a
parente321eba06b24936cf6834d32c4aa050f9d16f16e (diff)
downloadphp-git-209497cfdf342af332058852557249f591abb65e.tar.gz
add test
-rwxr-xr-xZend/tests/bug26077.phpt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Zend/tests/bug26077.phpt b/Zend/tests/bug26077.phpt
new file mode 100755
index 0000000000..e7cca2794a
--- /dev/null
+++ b/Zend/tests/bug26077.phpt
@@ -0,0 +1,9 @@
+--TEST--
+Bug #26077 Memory leaks when creating an instance of an object
+--FILE--
+<?php
+class foo {} new foo();
+?>
+===DONE===
+--EXPECTF--
+===DONE===