Download src/php/php-src/Zend/tests/array_unpack/in_destructuring.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 212 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/array_unpack/in_destructuring.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/Zend/tests/array_unpack/in_destructuring.phpt
-
curl -L -o in_destructuring.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/Zend/tests/array_unpack/in_destructuring.phpt
212 Bytes
| --TEST-- | |
| Spread operator is not supported in destructuring assignments | |
| --FILE-- | |
| [$head, ...$tail] = [1, 2, 3]; | |
| --EXPECTF-- | |
| Fatal error: Spread operator is not supported in assignments in %s on line %d | |