mirror of
https://github.com/php/php-src.git
synced 2024-10-03 07:46:12 +00:00
18 lines
325 B
PHP
18 lines
325 B
PHP
--TEST--
|
|
ReflectionFunction::isDeprecated
|
|
--CREDITS--
|
|
Stefan Koopmanschap <stefan@phpgg.nl>
|
|
TestFest PHP|Tek
|
|
--SKIPIF--
|
|
<?php
|
|
|
|
if (!extension_loaded('mcrypt')) echo "skip no deprecated functions available";
|
|
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
$rc = new ReflectionFunction('mcrypt_ecb');
|
|
var_dump($rc->isDeprecated());
|
|
--EXPECTF--
|
|
bool(true)
|