mirror of
https://github.com/php/php-src.git
synced 2024-10-17 22:42:38 +00:00
14 lines
194 B
PHP
14 lines
194 B
PHP
--TEST--
|
|
Closure 015: converting to string/unicode
|
|
--FILE--
|
|
<?php
|
|
$x = function() { return 1; };
|
|
print (string) $x;
|
|
print "\n";
|
|
print $x;
|
|
print "\n";
|
|
?>
|
|
--EXPECT--
|
|
Closure object
|
|
Closure object
|