mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
12 lines
182 B
PHP
12 lines
182 B
PHP
--TEST--
|
|
The (real) cast is deprecated
|
|
--FILE--
|
|
<?php
|
|
|
|
var_dump((real) 42);
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Deprecated: The (real) cast is deprecated, use (float) instead in %s on line %d
|
|
float(42)
|