Download src/php/php-src/Zend/tests/clone/bug36071.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 288 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/clone/bug36071.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/clone/bug36071.phpt
-
curl -L -o bug36071.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/clone/bug36071.phpt
288 Bytes
| --TEST-- | |
| Bug #36071 (Engine Crash related with 'clone') | |
| --INI-- | |
| error_reporting=4095 | |
| --FILE-- | |
| $a = clone 0; | |
| $a[0]->b = 0; | |
| --EXPECTF-- | |
| Fatal error: Uncaught Error: __clone method called on non-object in %sbug36071.php:2 | |
| Stack trace: | |
| #0 {main} | |
| thrown in %sbug36071.php on line 2 | |