xref: /PHP-8.0/Zend/tests/real_cast.phpt (revision 4565a7f2)
1--TEST--
2The (real) cast is no longer supported
3--FILE--
4<?php
5
6var_dump((real) 42);
7
8?>
9--EXPECTF--
10Parse error: The (real) cast has been removed, use (float) instead in %s on line %d
11