mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
a4262827ea
We currently don't have deprecated functions ... so just switch this to testing a non-deprecated function.
13 lines
277 B
PHP
13 lines
277 B
PHP
--TEST--
|
|
ReflectionFunction::isDeprecated
|
|
--CREDITS--
|
|
Stefan Koopmanschap <stefan@phpgg.nl>
|
|
TestFest PHP|Tek
|
|
--FILE--
|
|
<?php
|
|
// We currently don't have any deprecated functions :/
|
|
$rc = new ReflectionFunction('var_dump');
|
|
var_dump($rc->isDeprecated());
|
|
--EXPECTF--
|
|
bool(false)
|