mirror of
https://github.com/php/php-src.git
synced 2026-03-30 20:22:36 +02:00
* Zend/*: fix a bunch of typos * Zend/tests/try/try_catch_finally_005.phpt: update string length
16 lines
214 B
PHP
16 lines
214 B
PHP
--TEST--
|
|
Bug #37707 (clone without assigning leaks memory)
|
|
--FILE--
|
|
<?php
|
|
class testme {
|
|
function __clone() {
|
|
echo "cloned\n";
|
|
}
|
|
}
|
|
clone new testme();
|
|
echo "NO LEAK\n";
|
|
?>
|
|
--EXPECT--
|
|
cloned
|
|
NO LEAK
|