mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
4565a7f269
And bring back a test for it...
11 lines
185 B
PHP
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
|