/PHP-8.4/ext/hash/tests/ |
H A D | haval.phpt | 2 Hash: haval algorithm (multi-vector, multi-pass, multi-width) 6 for($pass=3; $pass<=5; $pass++) 8 $algo = sprintf('haval%d,%d',$bits,$pass); 13 for($pass=3; $pass<=5; $pass++) 15 $algo = sprintf('haval%d,%d',$bits,$pass); 20 for($pass=3; $pass<=5; $pass++) 22 $algo = sprintf('haval%d,%d',$bits,$pass);
|
/PHP-8.4/ext/standard/tests/url/ |
H A D | bug63162.phpt | 5 [0]=> http://user:pass@host 6 [1]=> //user:pass@host 10 var_dump(parse_url('http://user:pass@host')); 11 var_dump(parse_url('//user:pass@host')); 22 ["pass"]=> 23 string(4) "pass" 30 ["pass"]=> 31 string(4) "pass"
|
/PHP-8.4/ext/openssl/tests/ |
H A D | openssl_pkcs12_export_basic.phpt | 15 $pass = "test"; 20 var_dump(openssl_pkcs12_export($cert, $output, $priv, $pass)); // read certs as a string 21 var_dump(openssl_pkcs12_read($output, $opts, $pass)); 23 var_dump(openssl_pkcs12_read($output, $opts, $pass)); 24 var_dump(openssl_pkcs12_export($cert_res, $output, $priv_res, $pass)); // read certs from a resource 25 var_dump(openssl_pkcs12_read($output, $opts, $pass)); 27 var_dump(openssl_pkcs12_read($output, $opts, $pass)); 31 var_dump(openssl_pkcs12_export($invalid, $output, $invalid, $pass)); 32 var_dump(openssl_pkcs12_export($invalid_path, $output, $invalid_path, $pass)); 34 var_dump(openssl_pkcs12_export($priv_res, $output, $cert_res, $pass)); [all …]
|
H A D | openssl_pkcs12_export_to_file_basic.phpt | 17 $pass = "test"; 22 var_dump(openssl_pkcs12_export_to_file($cert, $pkcsfile, $priv, $pass)); 23 var_dump(openssl_pkcs12_read(file_get_contents($pkcsfile), $opts, $pass)); 24 var_dump(openssl_pkcs12_export_to_file($cert_path, $pkcsfile, $priv_path, $pass)); 25 var_dump(openssl_pkcs12_read(file_get_contents($pkcsfile), $opts, $pass)); 26 var_dump(openssl_pkcs12_export_to_file($cert_res, $pkcsfile, $priv_res, $pass)); 27 var_dump(openssl_pkcs12_read(file_get_contents($pkcsfile), $opts, $pass)); 29 var_dump(openssl_pkcs12_read(file_get_contents($pkcsfile), $opts, $pass)); 31 var_dump(openssl_pkcs12_export_to_file($invalid, $pkcsfile, $invalid, $pass)); 32 var_dump(openssl_pkcs12_export_to_file($invalid_path, $pkcsfile, $invalid_path, $pass)); [all …]
|
H A D | openssl_password_compat.phpt | 30 $pass = "secret$mem$time$algo"; 33 …$hash = sodium_crypto_pwhash_str($pass, PASSWORD_ARGON2_DEFAULT_TIME_COST / $time, PASSWORD_ARGON2… 34 var_dump(openssl_password_verify($algo, $pass, $hash)); 37 $hash = openssl_password_hash($algo, $pass, $opts); 38 var_dump(sodium_crypto_pwhash_str_verify($hash, $pass));
|
H A D | openssl_password_compat2.phpt | 30 $pass = "secret$mem$time$algo"; 33 $hash = password_hash($pass, PASSWORD_ARGON2ID, $opts); 34 var_dump(openssl_password_verify($algo, $pass, $hash)); 37 $hash = openssl_password_hash($algo, $pass, $opts); 38 var_dump(password_verify($pass, $hash));
|
/PHP-8.4/ext/sodium/tests/ |
H A D | bug78516.phpt | 11 $pass = password_hash('secret', PASSWORD_ARGON2ID, ['memory_cost' => 8191]); 12 password_needs_rehash($pass, PASSWORD_ARGON2ID, ['memory_cost' => 8191]); 13 var_dump(password_get_info($pass)['options']['memory_cost']); 14 $pass = password_hash('secret', PASSWORD_ARGON2I, ['memory_cost' => 8191]); 15 password_needs_rehash($pass, PASSWORD_ARGON2I, ['memory_cost' => 8191]); 16 var_dump(password_get_info($pass)['options']['memory_cost']);
|
/PHP-8.4/ext/mbstring/tests/ |
H A D | mb_http_input_pass.phpt | 2 mb_http_input() with pass encoding 11 input_encoding=pass 30 string(4) "pass" 31 string(4) "pass" 36 string(4) "pass" 38 string(4) "pass"
|
H A D | mb_output_handler_pass.phpt | 2 mb_output_handler() with output_encoding=pass 7 output_encoding=pass 20 mb_http_output("pass"); 24 string(4) "pass"
|
H A D | mb_check_encoding_invalid_encodings.phpt | 23 echo 'Using "pass" as encoding' . \PHP_EOL; 25 var_dump(mb_check_encoding($str, 'pass')); 30 var_dump(mb_check_encoding($arr, 'pass')); 40 Using "pass" as encoding 41 mb_check_encoding(): Argument #2 ($encoding) must be a valid encoding, "pass" given 42 mb_check_encoding(): Argument #2 ($encoding) must be a valid encoding, "pass" given
|
/PHP-8.4/tests/classes/ |
H A D | private_002.phpt | 6 class pass { 8 echo "Call pass::show()\n"; 12 pass::show(); 16 pass::do_show(); 21 pass::show(); 30 Call pass::show() 33 Fatal error: Uncaught Error: Call to private method pass::show() from scope fail in %s:%d
|
H A D | protected_002.phpt | 6 class pass { 8 echo "Call pass::show()\n"; 12 pass::show(); 16 pass::do_show(); 21 pass::show(); 30 Call pass::show() 33 Fatal error: Uncaught Error: Call to protected method pass::show() from scope fail in %s:%d
|
H A D | private_005.phpt | 6 class pass { 12 pass::show(); 16 class fail extends pass { 18 pass::show(); 22 pass::do_show(); 30 Fatal error: Uncaught Error: Call to private method pass::show() from scope fail in %s:%d
|
H A D | protected_001.phpt | 6 class pass { 12 pass::fail(); 16 pass::good(); 17 pass::fail();// must fail because we are calling from outside of class pass 24 Fatal error: Uncaught Error: Call to protected method pass::fail() from global scope in %s:%d
|
H A D | final_redeclare.phpt | 6 class pass { 8 echo "Call to function pass::show()\n"; 12 $t = new pass(); 14 class fail extends pass { 23 Fatal error: Cannot override final method pass::show() in %s on line 12
|
H A D | private_003.phpt | 6 class pass { 12 pass::show(); 16 class fail extends pass { 18 pass::good(); 22 pass::show(); 34 Fatal error: Uncaught Error: Call to private method pass::show() from scope fail in %s:%d
|
H A D | private_001.phpt | 6 class pass { 12 pass::show(); 16 pass::do_show(); 17 pass::show(); 24 Fatal error: Uncaught Error: Call to private method pass::show() from global scope in %s:%d
|
H A D | static_mix_1.phpt | 6 class pass { 8 echo "Call to function pass::show()\n"; 12 class fail extends pass { 18 pass::show(); 24 Fatal error: Cannot make static method pass::show() non static in class fail in %s on line 10
|
H A D | static_mix_2.phpt | 6 class pass { 8 echo "Call to function pass::show()\n"; 12 class fail extends pass { 18 $t = new pass(); 25 Fatal error: Cannot make non static method pass::show() static in class fail in %s on line 10
|
H A D | private_004.phpt | 6 class pass { 12 pass::show(); 16 class fail extends pass { 22 pass::do_show(); 30 Fatal error: Uncaught Error: Call to private method pass::show() from scope fail in %s:%d
|
/PHP-8.4/ext/gd/tests/ |
H A D | bug79676.phpt | 10 … (imagecolorat($image, imagesx($image) - 1 , imagesy($image) - 1) != 0x000000 ? 'pass' : 'fail'), 25 No scaling - Test Result: pass 26 Scale 200%, default mode - Test Result: pass 27 Scale 50%, default mode - Test Result: pass 28 Scale 200%, IMG_BICUBIC mode - Test Result: pass 29 Scale 50%, IMG_BICUBIC mode - Test Result: pass
|
/PHP-8.4/ext/zip/examples/ |
H A D | encryption.php | 8 $pass = 'secret'; variable 16 $zip->setEncryptionName($file, ZipArchive::EM_AES_256, $pass); 23 $zip->setPassword($pass); 35 $zip->setPassword($pass); 44 'password' => $pass
|
/PHP-8.4/ext/standard/tests/strings/ |
H A D | bug73058.phpt | 5 $pass = 'secret'; 8 var_dump(crypt($pass, $salt)); 11 var_dump(crypt($pass, $salt)); 14 var_dump(crypt($pass, $salt));
|
/PHP-8.4/ext/pdo_dblib/tests/ |
H A D | config.inc | 30 $pass = getenv('PDO_DBLIB_TEST_PASS'); 32 $pass = 'password'; 35 return [$dsn, $user, $pass]; 44 [$dsn, $user, $pass] = getCredentials(); 47 $db = new $class($dsn, $user, $pass, $attributes); 59 [$dsn, $user, $pass] = getCredentials(); 62 $db = PDO::connect($dsn, $user, $pass);
|
/PHP-8.4/ext/odbc/tests/ |
H A D | config.inc | 5 $pass = getenv("ODBC_TEST_PASS"); 13 if (false == $pass) { 14 $pass = '';
|