/PHP-5.6/ext/standard/tests/array/ |
H A D | array_slice_variation7.phpt | 117 -- Iteration 1 : key type is int -- 141 -- Iteration 2 : key type is float -- 161 -- Iteration 3 : key type is extreme floats -- 177 -- Iteration 4 : key type is null uppercase -- 189 -- Iteration 5 : key type is null lowercase -- 201 -- Iteration 6 : key type is bool lowercase -- 217 -- Iteration 7 : key type is bool uppercase -- 233 -- Iteration 8 : key type is empty double quotes -- 257 -- Iteration 10 : key type is string -- 277 -- Iteration 11 : key type is undefined -- [all …]
|
H A D | array_key_exists_basic.phpt | 5 /* Prototype : bool array_key_exists(mixed $key, array $search) 6 * Description: Checks if the given key or index exists in the array 17 $key1 = 'key'; 19 $search = array('one', 'key' => 'value', 'val');
|
H A D | array_key_exists_error.phpt | 5 /* Prototype : bool array_key_exists(mixed $key, array $search) 6 * Description: Checks if the given key or index exists in the array 19 $key = 1; 22 var_dump( array_key_exists($key, $search, $extra_arg) ); 26 $key = 1; 27 var_dump( array_key_exists($key) );
|
H A D | uasort_variation3.phpt | 54 // default key 55 1, //expecting: default key 0, value will be replaced by 'FALSE' 65 'key' => 5, //single quoted key 66 "two" => 4, //double quoted key 69 " " => 0, // space as key 81 // binary key 126 ["key"]=>
|
H A D | array_walk_error1.phpt | 12 /* Prototype : callback(mixed value, mixed key, mixed user_data) 13 * Parameters : value - value in key/value pair 14 * key - key in key/value pair 17 function callback ($value, $key, $user_data) {
|
H A D | array_walk_recursive_error1.phpt | 12 /* Prototype : callback(mixed value, mixed key, mixed user_data) 13 * Parameters : value - value in key/value pair 14 * key - key in key/value pair 17 function callback ($value, $key, $user_data) {
|
H A D | usort_variation3.phpt | 50 'key' => 5, //single quoted key 51 "two" => 4, //double quoted key 52 " " => 0, // space as key 61 // binary key 69 // default key
|
/PHP-5.6/ext/spl/internal/ |
H A D | regexiterator.inc | 22 const USE_KEY = 0x00000001; /**< If present in $flags the key is 29 const REPLACE = 4; /**< Mode: Replace the input key or current */ 37 private $key; /**< the value used for key() */ 61 * Match current or key against regular expression using mode, flags and 71 $this->key = parent::key(); 74 $subject = ($this->flags & self::USE_KEY) ? $this->key : $this->current; 97 $this->key = $result; 106 /** @return the key after accept has been called 108 function key() 110 return $this->key;
|
/PHP-5.6/Zend/tests/ |
H A D | foreach_list_003.phpt | 2 foreach with list key 8 foreach($array as list($key) => list(list(), $a)) { 13 Fatal error: Cannot use list as key element in %sforeach_list_003.php on line %d
|
/PHP-5.6/tests/lang/ |
H A D | foreachLoopIterator.001.phpt | 34 public function key() { 87 --> MealIterator::key (0) 92 --> MealIterator::key (1) 97 --> MealIterator::key (2) 109 --> MealIterator::key (0) 116 --> MealIterator::key (0) 121 --> MealIterator::key (1) 126 --> MealIterator::key (2)
|
H A D | each_binary_safety.phpt | 7 while (list($key, $val) = each($arr)) { 8 echo strlen($key), ': '; 9 echo urlencode($key), ' => ', urlencode($val), "\n";
|
/PHP-5.6/ext/reflection/tests/ |
H A D | ReflectionParameter_export_error2.phpt | 13 foreach($params as $key => $value) { 14 ReflectionParameter::export($reflect, $key); 21 foreach($params as $key => $value) { 22 ReflectionParameter::export(42, $key);
|
/PHP-5.6/ext/spl/tests/ |
H A D | SplFileObject_key_error003.phpt | 2 SPL: SplFileObject::key error 12 $s->key(3); 15 Warning: SplFileObject::key() expects exactly 0 parameters, 1 given in %s on line %d
|
H A D | array_020.phpt | 20 function key() 23 return ArrayIterator::key(); 53 ArrayIteratorEx::key 59 ArrayIteratorEx::key
|
H A D | observer_002.phpt | 20 function key() 22 echo __METHOD__ . "(" . parent::key() . ")\n"; 23 return parent::key(); 90 foreach($this->observers as $key => $observer) 154 MyObjectStorage::key(0) 159 MyObjectStorage::key(1) 164 MyObjectStorage::key(2) 174 MyObjectStorage::key(0) 179 MyObjectStorage::key(1) 195 MyObjectStorage::key(0)
|
/PHP-5.6/ext/simplexml/tests/ |
H A D | bug46048.phpt | 9 <key>value</key> 24 [key] => value
|
H A D | bug67572.phpt | 16 foreach($xml as $key => $value) { 17 print "$key = $value ... "; 22 foreach($xml2 as $key => $value) { 23 print "$key = $value ... ";
|
/PHP-5.6/ext/dba/tests/ |
H A D | dba_db4_handlers.phpt | 21 foreach ($h as $key) { 22 if ($key === "db4") { 34 foreach ($h as $key => $val) { 35 if ($key === "db4") {
|
/PHP-5.6/ext/openssl/tests/ |
H A D | bug54992.phpt | 14 Generate new key for CA: 15 $ openssl genrsa -out ./ext/openssl/tests/bug54992-ca.key 4096 18 $ openssl req -new -x509 -key ./ext/openssl/tests/bug54992-ca.key \ 23 Extract private key from the bundle: 24 $ openssl rsa -in ext/openssl/tests/bug54992.pem > ext/openssl/tests/bug54992.key 27 …nssl/tests/bug54992.pem -out ext/openssl/tests/bug54992.csr -signkey ext/openssl/tests/bug54992.key 32 -CAkey ./ext/openssl/tests/bug54992-ca.key \ 39 Bundle certificate's private key with the certificate: 40 $ cat ext/openssl/tests/bug54992.key >> ext/openssl/tests/bug54992.pem\
|
/PHP-5.6/Zend/ |
H A D | zend_object_handlers.h | 34 …_read_property_t)(zval *object, zval *member, int type, const struct _zend_literal *key TSRMLS_DC); 46 …te_property_t)(zval *object, zval *member, zval *value, const struct _zend_literal *key TSRMLS_DC); 53 …operty_ptr_ptr_t)(zval *object, zval *member, int type, const struct _zend_literal *key TSRMLS_DC); 70 …erty_t)(zval *object, zval *member, int has_set_exists, const struct _zend_literal *key TSRMLS_DC); 76 …nd_object_unset_property_t)(zval *object, zval *member, const struct _zend_literal *key TSRMLS_DC); 91 …hod_t)(zval **object_ptr, char *method, int method_len, const struct _zend_literal *key TSRMLS_DC); 158 …t char *function_name_strval, int function_name_strlen, const struct _zend_literal *key TSRMLS_DC); 159 …property_name, int property_name_len, zend_bool silent, const struct _zend_literal *key TSRMLS_DC); 160 … *ce, const char *property_name, int property_name_len, const struct _zend_literal *key TSRMLS_DC); 166 …write_property(zval *object, zval *member, zval *value, const struct _zend_literal *key TSRMLS_DC);
|
/PHP-5.6/ext/mysqli/tests/ |
H A D | mysqli_pam_sha256_public_key_ini.phpt | 42 die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error)); 45 $key = $row['Value']; 46 if (strlen($key) < 100) { 47 …die(sprintf("skip Server misconfiguration? RSA pub key is suspicious, [%d] %s\n", $link->errno, $l… 53 die(sprintf("skip Cannot create RSA pub key file '%s'", $file)); 55 $key = str_replace("A", "a", $key); 56 $key = str_replace("M", "m", $key); 57 if (strlen($key) != fwrite($fp, $key)) { 58 die(sprintf("skip Failed to create pub key file"));
|
/PHP-5.6/sapi/phpdbg/tests/ |
H A D | run-tests.php | 51 while (($key = array_shift($cmd))) { 52 switch (substr($key, 0, 1)) { 55 $arg = substr($key, 2); 57 $key = substr($arg, 0, $e); 60 $key = $arg; 65 switch ($key) { 68 $this->options[$key] = $value; 72 if (isset($config[$key])) { 73 if (is_array($config[$key])) { 76 $this->options[$key] = array($config[$key], $value); [all …]
|
/PHP-5.6/ext/session/ |
H A D | mod_files.c | 81 key_len = strlen(key); in ps_files_path_create() 87 p = key; in ps_files_path_create() 97 memcpy(buf + n, key, key_len); in ps_files_path_create() 135 if (php_session_valid_key(key) == FAILURE) { in ps_files_open() 140 if (!ps_files_path_create(buf, sizeof(buf), data, key)) { in ps_files_open() 145 data->lastkey = estrdup(key); in ps_files_open() 246 if (!key || !ps_files_path_create(buf, sizeof(buf), data, key)) { in ps_files_key_exists() 348 ps_files_key_exists(data, key TSRMLS_CC) == FAILURE) { in PS_READ_FUNC() 350 if (key) { in PS_READ_FUNC() 412 ps_files_open(data, key TSRMLS_CC); in PS_WRITE_FUNC() [all …]
|
/PHP-5.6/ext/dba/ |
H A D | dba.c | 75 ZEND_ARG_INFO(0, key) 80 ZEND_ARG_INFO(0, key) 86 ZEND_ARG_INFO(0, key) 98 ZEND_ARG_INFO(0, key) 103 ZEND_ARG_INFO(0, key) 229 zval tmp = *key; 558 zval *key; in php_dba_update() local 585 #define FREENOW if(args) efree(args); if(key) efree(key) 1049 char *key, *name; in PHP_FUNCTION() local 1064 if (key[0] == '[' && (name = strchr(key, ']')) != NULL) { in PHP_FUNCTION() [all …]
|
/PHP-5.6/ext/mcrypt/tests/ |
H A D | bug70625.phpt | 8 $key = 'secretkey'; 9 $ciphertext = mcrypt_encrypt(MCRYPT_ARCFOUR, $key, 'payload', MCRYPT_MODE_STREAM); 11 $plaintext = mcrypt_decrypt(MCRYPT_ARCFOUR, $key, $ciphertext, MCRYPT_MODE_STREAM);
|