Home
last modified time | relevance | path

Searched refs:function_exists (Results 1 – 25 of 567) sorted by relevance

12345678910>>...23

/PHP-5.3/Zend/tests/
H A Dfunction_exists_basic.phpt2 function_exists function : basic functionality
6 * proto bool function_exists(string function_name)
10 echo "*** Testing function_exists() : basic functionality ***\n";
13 var_dump(function_exists('function_exists'));
17 var_dump(function_exists('f'));
20 var_dump(function_exists('F'));
23 var_dump(function_exists('g'));
29 var_dump(function_exists('C::f'));
33 *** Testing function_exists() : basic functionality ***
H A Dfunction_exists_error.phpt2 Test function_exists() function : error conditions
6 * proto bool function_exists(string function_name)
10 echo "*** Testing function_exists() : error conditions ***\n";
16 var_dump(function_exists($arg_0, $extra_arg));
19 var_dump(function_exists());
24 *** Testing function_exists() : error conditions ***
28 Warning: function_exists() expects exactly 1 parameter, 2 given in %s on line %d
33 Warning: function_exists() expects exactly 1 parameter, 0 given in %s on line %d
H A Dfunction_exists_variation1.phpt2 Test function_exists() function : usage variations - test values for $str argument
7 * proto bool function_exists(string function_name)
11 echo "*** Testing function_exists() function: with unexpected inputs for 'str' argument ***\n";
71 // loop through with each element of the $inputs array to test function_exists() function
75 var_dump( function_exists($input) );
84 *** Testing function_exists() function: with unexpected inputs for 'str' argument ***
105 Warning: function_exists() expects parameter 1 to be string, array given in %s on line %d
109 Warning: function_exists() expects parameter 1 to be string, array given in %s on line %d
113 Warning: function_exists() expects parameter 1 to be string, array given in %s on line %d
131 Warning: function_exists() expects parameter 1 to be string, resource given in %s on line %d
/PHP-5.3/ext/gd/tests/
H A Dtypes.phpt5 if (!function_exists('imagetypes')) die("skip gd extension not available\n");
11 if ($flags&0x1 && !function_exists("imagegif")) {
15 if ($flags&0x2 && !function_exists("imagejpeg")) {
19 if ($flags&0x4 && !function_exists("imagepng")) {
23 if ($flags&0x8 && !function_exists("imagewbmp")) {
27 if ($flags&16 && !function_exists("imagecreatefromxpm")) {
H A Djpeg2png.phpt9 if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
12 if (!function_exists("imagecreatefromjpeg") || !function_exists("imagejpeg")) {
H A Dpngcomp.phpt9 if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
H A Dxbm2png.phpt8 if (!function_exists("imagepng")) {
11 if (!function_exists("imagecreatefromxbm")) {
H A Dxpm2jpg.phpt9 if (!function_exists("imagejpeg")) {
12 if (!function_exists("imagecreatefromxpm")) {
H A Dgif2jpg.phpt9 if (!function_exists("imagejpeg")) {
12 if (!function_exists("imagecreatefromgif")) {
H A Dgif2png.phpt9 if (!function_exists("imagepng")) {
12 if (!function_exists("imagecreatefromgif")) {
H A Dxpm2png.phpt9 if (!function_exists("imagepng")) {
12 if (!function_exists("imagecreatefromxpm")) {
H A Dbug49600.phpt6 if(!function_exists('imagettftext')) die('skip imagettftext() not available');
7 if(!function_exists('imagettfbbox')) die('skip imagettfbbox() not available');
H A Dimagecolorstotal_basic.phpt9 if(!function_exists('imagecolorstotal') || !function_exists('imagecreatefromgif')) {
H A Djpg2gd.phpt9 if (!function_exists("imagecreatefromjpeg") || !function_exists("imagejpeg")) {
H A Dpng2gd.phpt9 if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) {
/PHP-5.3/ext/pcntl/tests/
H A Dpcntl_signal_dispatch.phpt6 elseif (!function_exists("pcntl_signal")) print "skip pcntl_signal() not available";
7 …elseif (!function_exists("pcntl_signal_dispatch")) print "skip pcntl_signal_dispatch() not availab…
8 elseif (!function_exists("posix_kill")) print "skip posix_kill() not available";
9 elseif (!function_exists("posix_getpid")) print "skip posix_getpid() not available";
H A Dsignal_closure_handler.phpt6 elseif (!function_exists("pcntl_signal")) print "skip pcntl_signal() not available";
7 elseif (!function_exists("posix_kill")) print "skip posix_kill() not available";
8 elseif (!function_exists("posix_getpid")) print "skip posix_getpid() not available";
H A D003.phpt7 …elseif (!function_exists('pcntl_sigwaitinfo') or !function_exists('pcntl_sigtimedwait')) die('skip…
/PHP-5.3/ext/standard/tests/strings/
H A Dbug20934.phpt5 if (!function_exists("utf8_encode") || !function_exists("utf8_decode")) {
H A Dmoneyformat.phpt5 if (!function_exists('money_format') || !function_exists('setlocale')) {
/PHP-5.3/ext/mbstring/tests/
H A Dcasefold.phpt6 function_exists('mb_strtolower') and
7 function_exists('mb_convert_case' ) or die("skip mb_convert_case() is not available");
H A Doverload02.phpt6 if (!function_exists("mail")) {
9 if (!function_exists("mb_ereg_replace")) {
/PHP-5.3/ext/standard/tests/network/
H A Dinet_ipv6.phpt5 if (!function_exists("inet_ntop")) die("skip no inet_ntop()");
6 if (!function_exists("inet_pton")) die("skip no inet_pton()");
/PHP-5.3/ext/hash/tests/
H A Dskip_mhash.inc2 if (!extension_loaded("mhash") || !function_exists("mhash")) {
/PHP-5.3/ext/pcre/tests/
H A Dskip_001.inc3 if (!function_exists('setlocale')) {

Completed in 32 milliseconds

12345678910>>...23