/PHP-7.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-7.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-7.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)); 33 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 | bug54061.phpt | 10 $pass = "r23498rui324hjbnkj"; 12 $cr = openssl_encrypt($data, 'des3', $pass, 0, '1qazxsw2'); 13 $dcr = openssl_decrypt($cr, 'des3', $pass, 0, '1qazxsw2');
|
/PHP-7.4/ext/sodium/tests/ |
H A D | bug78516.phpt | 10 $pass = password_hash('secret', PASSWORD_ARGON2ID, ['memory_cost' => 8191]); 11 password_needs_rehash($pass, PASSWORD_ARGON2ID, ['memory_cost' => 8191]); 12 var_dump(password_get_info($pass)['options']['memory_cost']); 13 $pass = password_hash('secret', PASSWORD_ARGON2I, ['memory_cost' => 8191]); 14 password_needs_rehash($pass, PASSWORD_ARGON2I, ['memory_cost' => 8191]); 15 var_dump(password_get_info($pass)['options']['memory_cost']);
|
/PHP-7.4/tests/classes/ |
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 context 'fail' in %s:%d
|
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 context '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 context '' 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 context 'fail' 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 context 'fail' 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 | 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 context '' in %s:%d
|
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 context 'fail' in %s:%d
|
H A D | protected_001b.phpt | 6 class pass { 16 $t = new pass(); 18 $t->fail();// must fail because we are calling from outside of class pass 25 Fatal error: Uncaught Error: Call to protected method pass::fail() from context '' in %s:%d
|
H A D | private_004b.phpt | 6 class pass { 16 class fail extends pass { 22 $t = new pass(); 33 Fatal error: Uncaught Error: Call to private method pass::show() from context 'fail' in %s:%d
|
/PHP-7.4/ext/gd/tests/ |
H A D | bug79676.phpt | 12 … (imagecolorat($image, imagesx($image) - 1 , imagesy($image) - 1) != 0x000000 ? 'pass' : 'fail'), 27 No scaling - Test Result: pass 28 Scale 200%, default mode - Test Result: pass 29 Scale 50%, default mode - Test Result: pass 30 Scale 200%, IMG_BICUBIC mode - Test Result: pass 31 Scale 50%, IMG_BICUBIC mode - Test Result: pass
|
/PHP-7.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-7.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-7.4/ext/odbc/tests/ |
H A D | config.inc | 8 $pass = getenv("ODBC_TEST_PASS"); 16 if (false == $pass) { 17 $pass = '';
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | array_column_variant.phpt | 11 echo "-- pass null as second parameter to get back all columns indexed by third parameter --\n"; 14 echo "-- pass null as second parameter and bogus third param to get back zero-indexed array of all … 17 echo "-- pass null as second parameter and no third param to get back array_values(input) --\n"; 22 -- pass null as second parameter to get back all columns indexed by third parameter -- 43 -- pass null as second parameter and bogus third param to get back zero-indexed array of all column… 64 -- pass null as second parameter and no third param to get back array_values(input) --
|
/PHP-7.4/ext/pdo/tests/ |
H A D | bug_61292.phpt | 22 $pass = getenv('PDOTEST_PASS'); 25 if ($pass === false) $pass = NULL; 28 parent::__construct($dsn, $user, $pass, $options);
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql___construct.phpt | 50 $pass = 'withthispassword'; 60 $pass = PDO_MYSQL_TEST_PASS; 62 $db = new PDO($dsn, $user, $pass); 139 $db = @new PDO($dsn, $user, $pass); 185 $db = new PDO($dsn, $user, $pass); 206 $db = new PDO($dsn, $user, $pass); 214 $db = @new PDO($dsn, $user, $pass); 225 $db = @new PDO($dsn, $user, $pass); 247 $db = new PDO($dsn, $user, $pass); 259 $db = new PDO($dsn, $user, $pass); [all …]
|