summaryrefslogtreecommitdiff
path: root/Zend/tests/builtin_in_write_context_error2.phpt
blob: aac23e4f4ee91a2c149e5a489374e3e40e80140b (plain)
1
2
3
4
5
6
7
8
9
10
--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