/PHP-8.1/Zend/tests/ |
H A D | binary-32bit.phpt | 7 var_dump(0b1); 8 var_dump(0b11); 9 var_dump(0b111); 10 var_dump(0b1111); 11 var_dump(0b11111); 12 var_dump(0b111111); 13 var_dump(0b1111111); 14 var_dump(0b11111111); 15 var_dump(0b111111111); 16 var_dump(0b1111111111); [all …]
|
H A D | binary.phpt | 9 var_dump(0b1); 10 var_dump(0b11); 11 var_dump(0b111); 12 var_dump(0b1111); 13 var_dump(0b11111); 14 var_dump(0b111111); 15 var_dump(0b1111111); 16 var_dump(0b11111111); 17 var_dump(0b111111111); 18 var_dump(0b1111111111); [all …]
|
H A D | ErrorException_getSeverity.phpt | 20 var_dump($e->getMessage() === ""); 21 var_dump($e->getCode() === 0); 33 var_dump($e->getCode() === 0); 45 var_dump($e->getCode() === 0); 57 var_dump($e->getCode() === 0); 69 var_dump($e->getCode() === 0); 81 var_dump($e->getCode() === 0); 93 var_dump($e->getCode() === 0); 105 var_dump($e->getCode() === 0); 117 var_dump($e->getCode() === 0); [all …]
|
H A D | constant_expressions.phpt | 41 var_dump(T_1); 42 var_dump(T_2); 43 var_dump(T_3); 44 var_dump(T_4); 45 var_dump(T_5); 46 var_dump(T_6); 47 var_dump(T_7); 48 var_dump(T_8); 49 var_dump(T_9); 50 var_dump(T_10); [all …]
|
/PHP-8.1/ext/standard/tests/math/ |
H A D | pow.phpt | 15 var_dump(0.25 === pow(-2,-2)); 16 var_dump(-0.5 === pow(-2,-1)); 17 var_dump(1 === pow(-2, 0)); 18 var_dump(-2 === pow(-2, 1)); 19 var_dump(4 === pow(-2, 2)); 20 var_dump(1.0 === pow(-1,-2)); 21 var_dump(-1.0 === pow(-1,-1)); 22 var_dump(1 === pow(-1, 0)); 23 var_dump(-1 === pow(-1, 1)); 24 var_dump(1 === pow(-1, 2)); [all …]
|
H A D | fdiv.phpt | 6 var_dump(fdiv(10, 3)); 7 var_dump(fdiv(10., 3.)); 8 var_dump(fdiv(-10., 2.5)); 9 var_dump(fdiv(10., -2.5)); 11 var_dump(fdiv(10., 0.)); 12 var_dump(fdiv(10., -0.)); 13 var_dump(fdiv(-10., 0.)); 16 var_dump(fdiv(INF, 0.)); 17 var_dump(fdiv(INF, -0.)); 21 var_dump(fdiv(0., 0.)); [all …]
|
H A D | bug45712.phpt | 8 var_dump($nan); 9 var_dump(is_nan($nan)); 11 var_dump($nan==''); 12 var_dump($nan==0.5); 13 var_dump($nan==50); 16 var_dump($nan==$nan); 18 var_dump($nan===''); 20 var_dump($nan===50); 27 var_dump($inf); 30 var_dump($inf==''); [all …]
|
H A D | round_modes.phpt | 5 var_dump (round (2.5, 0, PHP_ROUND_HALF_UP)); 6 var_dump (round (2.5, 0, PHP_ROUND_HALF_DOWN)); 7 var_dump (round (2.5, 0, PHP_ROUND_HALF_EVEN)); 8 var_dump (round (2.5, 0, PHP_ROUND_HALF_ODD)); 9 var_dump (round (-2.5, 0, PHP_ROUND_HALF_UP)); 10 var_dump (round (-2.5, 0, PHP_ROUND_HALF_DOWN)); 11 var_dump (round (-2.5, 0, PHP_ROUND_HALF_EVEN)); 12 var_dump (round (-2.5, 0, PHP_ROUND_HALF_ODD)); 13 var_dump (round (3.5, 0, PHP_ROUND_HALF_UP)); 16 var_dump (round (3.5, 0, PHP_ROUND_HALF_ODD)); [all …]
|
/PHP-8.1/ext/gmp/tests/ |
H A D | gmp_random_seed.phpt | 11 var_dump(gmp_random_seed(0)); 13 var_dump(gmp_strval(gmp_random_bits(10))); 14 var_dump(gmp_strval(gmp_random_bits(100))); 15 var_dump(gmp_strval(gmp_random_bits(1000))); 23 var_dump(gmp_random_seed(gmp_init(0))); 25 var_dump(gmp_strval(gmp_random_bits(10))); 35 var_dump(gmp_random_seed(-100)); 59 var_dump(gmp_random_seed(100)); 71 var_dump(gmp_random_seed(100)); 86 var_dump(gmp_random_seed($seed * -1)); [all …]
|
H A D | overloading.phpt | 11 var_dump($a + $b); 12 var_dump($a + 17); 13 var_dump(42 + $b); 15 var_dump($a - $b); 16 var_dump($a - 17); 17 var_dump(42 - $b); 19 var_dump($a * $b); 104 var_dump($a); 106 var_dump($a); 110 var_dump($a); [all …]
|
/PHP-8.1/ext/oci8/tests/ |
H A D | existence_aliases.phpt | 7 var_dump(function_exists('ocifreecursor')); 8 var_dump(function_exists('ocibindbyname')); 11 var_dump(function_exists('ocicolumnname')); 17 var_dump(function_exists('ociexecute')); 18 var_dump(function_exists('ocicancel')); 19 var_dump(function_exists('ocifetch')); 23 var_dump(function_exists('ociparse')); 25 var_dump(function_exists('ociresult')); 29 var_dump(function_exists('ocilogoff')); 30 var_dump(function_exists('ocilogon')); [all …]
|
/PHP-8.1/ext/calendar/tests/ |
H A D | bug54254.phpt | 7 var_dump(cal_days_in_month(CAL_JEWISH, 1, 5771)); 8 var_dump(cal_days_in_month(CAL_JEWISH, 2, 5771)); 9 var_dump(cal_days_in_month(CAL_JEWISH, 3, 5771)); 10 var_dump(cal_days_in_month(CAL_JEWISH, 4, 5771)); 11 var_dump(cal_days_in_month(CAL_JEWISH, 5, 5771)); 12 var_dump(cal_days_in_month(CAL_JEWISH, 6, 5771)); 13 var_dump(cal_days_in_month(CAL_JEWISH, 7, 5771)); 14 var_dump(cal_days_in_month(CAL_JEWISH, 8, 5771)); 15 var_dump(cal_days_in_month(CAL_JEWISH, 9, 5771)); 16 var_dump(cal_days_in_month(CAL_JEWISH, 10, 5771)); [all …]
|
/PHP-8.1/ext/opcache/tests/jit/ |
H A D | cmp_003.phpt | 26 var_dump($a == $b); 27 var_dump($a != $b); 28 var_dump($a < $b); 29 var_dump($a > $b); 30 var_dump($a <= $b); 31 var_dump($a >= $b); 117 var_dump($a == $b); 118 var_dump($a != $b); 119 var_dump($a < $b); 120 var_dump($a > $b); [all …]
|
/PHP-8.1/ext/intl/tests/ |
H A D | grapheme_empty.phpt | 10 var_dump(grapheme_strpos("abc", "")); 11 var_dump(grapheme_strpos("abc", "", -1)); 12 var_dump(grapheme_stripos("abc", "")); 14 var_dump(grapheme_strrpos("abc", "")); 16 var_dump(grapheme_strripos("abc", "")); 18 var_dump(grapheme_strstr("abc", "")); 20 var_dump(grapheme_stristr("abc", "")); 22 var_dump(grapheme_strpos("äbc", "")); 24 var_dump(grapheme_stripos("äbc", "")); 26 var_dump(grapheme_strrpos("äbc", "")); [all …]
|
/PHP-8.1/ext/mbstring/tests/ |
H A D | bug48645.phpt | 7 var_dump(bin2hex(mb_convert_encoding("�", "UTF-8", "HTML-ENTITIES"))); 8 var_dump(bin2hex(mb_convert_encoding("", "UTF-8", "HTML-ENTITIES"))); 9 var_dump(bin2hex(mb_convert_encoding("", "UTF-8", "HTML-ENTITIES"))); 10 var_dump(bin2hex(mb_convert_encoding("", "UTF-8", "HTML-ENTITIES"))); 11 var_dump(bin2hex(mb_convert_encoding("", "UTF-8", "HTML-ENTITIES"))); 12 var_dump(bin2hex(mb_convert_encoding("", "UTF-8", "HTML-ENTITIES"))); 13 var_dump(bin2hex(mb_convert_encoding("", "UTF-8", "HTML-ENTITIES"))); 14 var_dump(bin2hex(mb_convert_encoding("", "UTF-8", "HTML-ENTITIES"))); 15 var_dump(bin2hex(mb_convert_encoding("", "UTF-8", "HTML-ENTITIES"))); 16 var_dump(bin2hex(mb_convert_encoding("	", "UTF-8", "HTML-ENTITIES"))); [all …]
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | stream_rfc2397_007.phpt | 18 var_dump(ftell($fp)); 19 var_dump(feof($fp)); 22 var_dump(ftell($fp)); 23 var_dump(feof($fp)); 25 var_dump(fgetc($fp)); 26 var_dump(ftell($fp)); 27 var_dump(feof($fp)); 29 var_dump(fgetc($fp)); 30 var_dump(fgetc($fp)); 32 var_dump(feof($fp)); [all …]
|
/PHP-8.1/ext/iconv/tests/ |
H A D | iconv_substr_out_of_bounds.phpt | 8 var_dump(iconv_substr("foo", 3)); 9 var_dump(iconv_substr("foo", -3)); 10 var_dump(iconv_substr("foo", 4)); 11 var_dump(iconv_substr("foo", -4)); 12 var_dump(iconv_substr("äöü", 3)); 13 var_dump(iconv_substr("äöü", -3)); 14 var_dump(iconv_substr("äöü", 4)); 15 var_dump(iconv_substr("äöü", -4)); 16 var_dump(iconv_substr("foo", 0, 3)); 18 var_dump(iconv_substr("foo", 0, 4)); [all …]
|
/PHP-8.1/ext/standard/tests/strings/ |
H A D | stripos.phpt | 13 var_dump(stripos("", "")); 14 var_dump(stripos("a", "")); 15 var_dump(stripos("", "a")); 16 var_dump(stripos("a", " ")); 17 var_dump(stripos("a", "a")); 18 var_dump(stripos("", 1)); 19 var_dump(stripos("", false)); 20 var_dump(stripos("", true)); 21 var_dump(stripos("a", 1)); 23 var_dump(stripos("a", true)); [all …]
|
/PHP-8.1/Zend/tests/nullsafe_operator/ |
H A D | 001.phpt | 19 var_dump(null?->bar(var_dump('Not executed'))); 21 var_dump(null?->bar()->baz(var_dump('Not executed'))); 28 var_dump($foo->null()?->bar(var_dump('Not executed'))); 30 var_dump($foo->null()?->bar()->baz(var_dump('Not executed'))); 36 var_dump($foo?->self(var_dump('Executed'))->null()?->bar()); 37 var_dump($foo?->self(var_dump('Executed'))->null()?->bar(var_dump('Not executed'))); 38 var_dump($foo?->self(var_dump('Executed'))->null()?->bar()->baz()); 39 var_dump($foo?->self(var_dump('Executed'))->null()?->bar()->baz(var_dump('Not executed'))); 40 var_dump($foo?->self(var_dump('Executed'))->null()?->bar()->baz); 41 var_dump($foo?->self(var_dump('Executed'))->null()?->bar()::$baz); [all …]
|
/PHP-8.1/ext/filter/tests/ |
H A D | 018.phpt | 7 var_dump(filter_var("192.168.0.1", FILTER_VALIDATE_IP)); 8 var_dump(filter_var("192.168.0.1.1", FILTER_VALIDATE_IP)); 9 var_dump(filter_var("::1", FILTER_VALIDATE_IP)); 10 var_dump(filter_var("fe00::0", FILTER_VALIDATE_IP)); 11 var_dump(filter_var("::123456", FILTER_VALIDATE_IP)); 12 var_dump(filter_var("::1::b", FILTER_VALIDATE_IP)); 13 var_dump(filter_var("127.0.0.1", FILTER_VALIDATE_IP)); 20 var_dump(filter_var("192.0.34.166", FILTER_VALIDATE_IP)); 21 var_dump(filter_var("256.1237.123.1", FILTER_VALIDATE_IP)); 24 var_dump(filter_var("", FILTER_VALIDATE_IP)); [all …]
|
H A D | filter_data.phpt | 11 $data = "-123"; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 12 $data = "0"; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 13 $data = "-0"; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 14 $data = "+0"; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 15 $data = "123"; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 16 $data = -123; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 17 $data = 0; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 18 $data = -0; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 19 $data = +0; var_dump(filter_var($data, FILTER_VALIDATE_INT)); 20 $data = 123; var_dump(filter_var($data, FILTER_VALIDATE_INT)); [all …]
|
/PHP-8.1/ext/openssl/tests/ |
H A D | openssl_x509_checkpurpose_basic.phpt | 24 var_dump(openssl_x509_checkpurpose($cert, X509_PURPOSE_SSL_CLIENT)); 25 var_dump(openssl_x509_checkpurpose($cert, X509_PURPOSE_SSL_SERVER)); 27 var_dump(openssl_x509_checkpurpose($cert, X509_PURPOSE_SMIME_SIGN)); 29 var_dump(openssl_x509_checkpurpose($cert, X509_PURPOSE_CRL_SIGN)); 30 var_dump(openssl_x509_checkpurpose($cert, X509_PURPOSE_ANY)); 31 var_dump(openssl_x509_checkpurpose($bert, X509_PURPOSE_SSL_CLIENT)); 32 var_dump(openssl_x509_checkpurpose($bert, X509_PURPOSE_SSL_SERVER)); 36 var_dump(openssl_x509_checkpurpose($bert, X509_PURPOSE_CRL_SIGN)); 37 var_dump(openssl_x509_checkpurpose($bert, X509_PURPOSE_ANY)); 43 var_dump(openssl_x509_checkpurpose($sert, X509_PURPOSE_CRL_SIGN)); [all …]
|
/PHP-8.1/ext/session/tests/ |
H A D | session_commit_variation5.phpt | 17 var_dump(session_id($id)); 18 var_dump(session_start()); 19 var_dump(session_id()); 21 var_dump(session_commit()); 23 var_dump(session_id()); 24 var_dump(session_start()); 26 var_dump(session_id()); 29 var_dump(session_id()); 30 var_dump(session_start()); 32 var_dump(session_id()); [all …]
|
H A D | session_cache_limiter_basic.phpt | 14 var_dump(session_cache_limiter()); 16 var_dump(session_cache_limiter()); 17 var_dump(session_start()); 18 var_dump(session_destroy()); 20 var_dump(session_cache_limiter()); 23 var_dump(session_start()); 24 var_dump(session_destroy()); 29 var_dump(session_start()); 30 var_dump(session_destroy()); 35 var_dump(session_start()); [all …]
|
/PHP-8.1/ext/zip/tests/ |
H A D | bug53854.phpt | 8 var_dump(ZipArchive::CM_DEFAULT); 9 var_dump(ZipArchive::CM_STORE); 10 var_dump(ZipArchive::CM_SHRINK); 11 var_dump(ZipArchive::CM_REDUCE_1); 12 var_dump(ZipArchive::CM_REDUCE_2); 15 var_dump(ZipArchive::CM_IMPLODE); 19 var_dump(ZipArchive::CM_BZIP2); 20 var_dump(ZipArchive::CM_LZMA); 21 var_dump(ZipArchive::CM_TERSE); 22 var_dump(ZipArchive::CM_LZ77); [all …]
|