mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
7a73c5f6bb
Pecularily, there wasn't a single test for the (unset) cast...
15 lines
188 B
PHP
15 lines
188 B
PHP
--TEST--
|
|
The (unset) cast is deprecated
|
|
--FILE--
|
|
<?php
|
|
|
|
$x = 1;
|
|
var_dump((unset) $x);
|
|
var_dump($x);
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Deprecated: The (unset) cast is deprecated in %s on line %d
|
|
NULL
|
|
int(1)
|