summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionFunction_isDeprecated_basic.phpt
blob: 39323fd280f4a9db5ecaf83c841b20cf8a06e8c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--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)