1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00
Files
archived-php-src/Zend/tests/real_cast.phpt
T
Nikita Popov 4565a7f269 Fix assertion when (real) is used
And bring back a test for it...
2020-03-16 18:37:01 +01:00

11 lines
185 B
PHP

--TEST--
The (real) cast is no longer supported
--FILE--
<?php
var_dump((real) 42);
?>
--EXPECTF--
Parse error: The (real) cast has been removed, use (float) instead in %s on line %d