mirror of
https://github.com/php/php-src.git
synced 2024-09-29 13:56:09 +00:00
11 lines
209 B
Plaintext
11 lines
209 B
Plaintext
|
--TEST--
|
||
|
Cannot use built-in functions in write context (reference)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
$ref =& strlen("foo");
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Cannot use result of built-in function in write context in %s on line %d
|