/PHP-8.0/ext/readline/tests/ |
H A D | readline_read_history_001.phpt | 8 $name = tempnam(sys_get_temp_dir(), 'readline.tmp'); 12 var_dump(readline_write_history($name)); 16 var_dump(readline_read_history($name)); 20 unlink($name);
|
/PHP-8.0/ext/simplexml/tests/ |
H A D | 020.phpt | 8 $doc = simplexml_load_string('<root><name attr="foo">bar</name></root>'); 9 print $doc->name["attr"]; 11 if ($doc->name["attr"] == "foo") {
|
H A D | 028.phpt | 13 $name = $xml->getName(); 14 echo "$pad<$name"; 24 echo $pad."</$name>\n"; 30 $people->person['name'] = 'John'; 38 <person name="John">
|
H A D | 016a.phpt | 9 <person name="Foo"></person> 14 var_dump($people->person['name']); 15 $people->person['name'] .= 'Bar'; 16 var_dump($people->person['name']);
|
/PHP-8.0/Zend/tests/ |
H A D | bug75420.3.phpt | 6 public function __isset($x) { $GLOBALS["name"] = 24; return true; } 11 $name = "foo"; 12 var_dump(empty($obj->$name)); 13 var_dump($name);
|
H A D | magic_methods_inheritance_rules_non_trivial_01.phpt | 6 public function __get(string|array $name): mixed {} // valid 10 public function __get(string|array|object $name): int {} // also valid 14 public function __get(string|array $name): int {} // this is invalid 18 …or: Declaration of C::__get(array|string $name): int must be compatible with B::__get(object|array…
|
H A D | magic_methods_inheritance_rules_non_trivial_02.phpt | 6 public function __get(string|array $name): mixed {} // valid 10 public function __get(string|array|object $name): int {} // also valid 14 public function __get(string|array|object $name): int|float {} // this is invalid 18 …ation of C::__get(object|array|string $name): int|float must be compatible with B::__get(object|ar…
|
/PHP-8.0/ext/standard/ |
H A D | url_scanner_ex.h | 26 PHPAPI char *php_url_scanner_adapt_single_url(const char *url, size_t urllen, const char *name, con… 27 PHPAPI int php_url_scanner_add_session_var(const char *name, size_t name_len, const char *value, si… 28 PHPAPI int php_url_scanner_reset_session_var(zend_string *name, int encode); 30 PHPAPI int php_url_scanner_add_var(const char *name, size_t name_len, const char *value, size_t val… 31 PHPAPI int php_url_scanner_reset_var(zend_string *name, int encode);
|
/PHP-8.0/ext/xmlreader/ |
H A D | php_xmlreader.stub.php | 11 public function getAttribute(string $name) {} argument 17 public function getAttributeNs(string $name, string $namespace) {} argument 29 public function moveToAttribute(string $name) {} argument 35 public function moveToAttributeNs(string $name, string $namespace) {} argument 50 public function next(?string $name = null) {} argument
|
/PHP-8.0/ext/pdo/tests/ |
H A D | pdo.inc | 3 function set_sql($name, $query) 5 if (empty($GLOBALS['SQL'][$name])) 7 $GLOBALS['SQL'][$name] = $query;
|
/PHP-8.0/ext/reflection/tests/ |
H A D | bug30209.phpt | 8 private $name = 'testBAR'; 15 var_dump($this->name); 16 $method = $class->getMethod($this->name); 17 var_dump($this->name);
|
/PHP-8.0/ext/standard/tests/network/ |
H A D | setcookie_error.phpt | 21 setcookie('name', 'invalid;'); 26 setcookie('name', 'value', 100, 'invalid;'); 31 setcookie('name', 'value', 100, 'path', 'invalid;'); 39 setcookie('name', 'value', 315328464000); 53 setcookie(): Argument #1 ($name) cannot be empty 54 setcookie(): Argument #1 ($name) cannot contain "=", ",", ";", " ", "\t", "\r", "\n", "\013", or "\… 62 string(27) "Set-Cookie: name=invalid%3B"
|
/PHP-8.0/tests/basic/ |
H A D | rfc1867_empty_upload.phpt | 10 Content-Disposition: form-data; name="foo" 14 Content-Disposition: form-data; name="file1"; filename="file1.txt" 19 Content-Disposition: form-data; name="file2"; filename="" 24 Content-Disposition: form-data; name="file3"; filename="file3.txt" 44 ["name"]=> 57 ["name"]=> 70 ["name"]=>
|
H A D | rfc1867_max_file_size.phpt | 10 Content-Disposition: form-data; name="MAX_FILE_SIZE" 14 Content-Disposition: form-data; name="file1"; filename="file1.txt" 19 Content-Disposition: form-data; name="file2"; filename="file2.txt" 24 Content-Disposition: form-data; name="file3"; filename="C:\foo\bar/file3.txt" 44 ["name"]=> 57 ["name"]=> 70 ["name"]=>
|
/PHP-8.0/ext/pdo_sqlite/tests/ |
H A D | bug78192.phpt | 11 $connection->query('CREATE TABLE user (id INTEGER PRIMARY KEY NOT NULL, name VARCHAR(255) NOT NULL)… 13 $stmt = $connection->prepare('INSERT INTO user (id, name) VALUES(:id, :name)'); 16 'name' => 'test', 33 ["name"]=> 42 ["name"]=>
|
/PHP-8.0/ext/zip/examples/ |
H A D | encryption.php | 7 $name = __DIR__ . '/encrypted.zip'; variable 14 $zip->open($name, ZIPARCHIVE::CREATE | ZipArchive::OVERWRITE); 22 $zip->open($name, ZIPARCHIVE::CREATE | ZipArchive::OVERWRITE); 30 $zip->open($name); 47 $text = file_get_contents("zip://$name#$file", false, $ctx);
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | copy_variation1.phpt | 20 "copy.tmp", //regular file name 22 ".tmp", //file name only with extension 48 echo "Destination file name => "; 79 Destination file name => %s/copy.tmp 93 Destination file name => %s/.tmp 100 Destination file name => %s/123.tmp 107 Destination file name => %s/copy_variation1.123 114 Destination file name => %s/123 121 Destination file name => %s/123copy_variation1.tmp 128 Destination file name => %s/copy_variation.tmp123 [all …]
|
H A D | rename_variation3-win32.phpt | 18 /* test rename() by trying to rename an existing file/dir to the same name 28 echo "\n-- Renaming file to same file name --\n"; 32 echo "\n-- Renaming directory to same directory name --\n"; 36 echo "\n-- Renaming existing file to existing directory name --\n"; 41 echo "\n-- Renaming existing directory to existing file name --\n"; 60 -- Renaming file to same file name -- 64 -- Renaming directory to same directory name -- 68 -- Renaming existing file to existing directory name -- 75 -- Renaming existing directory to existing file name --
|
/PHP-8.0/ext/reflection/ |
H A D | php_reflection.stub.php | 103 public function getAttributes(?string $name = null, int $flags = 0): array {} argument 245 public function hasMethod(string $name) {} argument 248 public function getMethod(string $name) {} argument 254 public function hasProperty(string $name) {} argument 257 public function getProperty(string $name) {} argument 263 public function hasConstant(string $name) {} argument 272 public function getConstant(string $name) {} argument 275 public function getReflectionConstant(string $name) {} argument 332 public function setStaticPropertyValue(string $name, mixed $value) {} argument 584 public function __construct(string $name) {} argument [all …]
|
/PHP-8.0/sapi/apache2handler/ |
H A D | apache_config.c | 59 static const char *real_value_hnd(cmd_parms *cmd, void *dummy, const char *name, const char *value,… in real_value_hnd() argument 64 …phpapdebug((stderr, "Getting %s=%s for %p (%d)\n", name, value, dummy, zend_hash_num_elements(&d->… in real_value_hnd() 75 zend_hash_str_update_mem(&d->config, (char *) name, strlen(name), &e, sizeof(e)); in real_value_hnd() 79 static const char *php_apache_value_handler(cmd_parms *cmd, void *dummy, const char *name, const ch… in php_apache_value_handler() argument 81 return real_value_hnd(cmd, dummy, name, value, PHP_INI_PERDIR); in php_apache_value_handler() 86 return real_value_hnd(cmd, dummy, name, value, PHP_INI_SYSTEM); in php_apache_admin_value_handler() 103 static const char *php_apache_flag_handler(cmd_parms *cmd, void *dummy, const char *name, const cha… in php_apache_flag_handler() argument 105 return real_flag_hnd(cmd, dummy, name, value, PHP_INI_PERDIR); in php_apache_flag_handler() 110 return real_flag_hnd(cmd, dummy, name, value, PHP_INI_SYSTEM); in php_apache_admin_flag_handler() 180 char *get_php_config(void *conf, char *name, size_t name_len) in get_php_config() argument [all …]
|
/PHP-8.0/ext/spl/tests/ |
H A D | observer_002.phpt | 41 protected $name = ''; 43 function __construct($name = 'obj') 45 $this->name = '$' . $name; 50 echo $this->name . '->' . __METHOD__ . '(' . $subject->getName() . ");\n"; 55 return $this->name; 61 protected $name = ''; 64 function __construct($name = 'sub') 67 $this->name = '$' . $name; 72 echo $this->name . '->' . __METHOD__ . '(' . $observer->getName() . ");\n"; 89 echo $this->name . '->' . __METHOD__ . "();\n"; [all …]
|
/PHP-8.0/ext/intl/transliterator/ |
H A D | transliterator_class.c | 190 static zval *Transliterator_get_property_ptr_ptr( zend_object *object, zend_string *name, int type,… in Transliterator_get_property_ptr_ptr() argument 195 ZSTR_VAL( name ), ZSTR_LEN( name ) ) == 0 ) in Transliterator_get_property_ptr_ptr() 201 retval = zend_std_get_property_ptr_ptr( object, name, type, cache_slot ); in Transliterator_get_property_ptr_ptr() 209 static zval *Transliterator_read_property( zend_object *object, zend_string *name, int type, void *… in Transliterator_read_property() argument 215 ZSTR_VAL( name ), ZSTR_LEN( name ) ) == 0 ) ) in Transliterator_read_property() 222 retval = zend_std_read_property( object, name, type, cache_slot, rv ); in Transliterator_read_property() 231 static zval *Transliterator_write_property( zend_object *object, zend_string *name, zval *value, in Transliterator_write_property() argument 243 ZSTR_VAL( name ), ZSTR_LEN( name ) ) == 0 ) ) in Transliterator_write_property() 249 value = zend_std_write_property( object, name, value, cache_slot ); in Transliterator_write_property()
|
/PHP-8.0/ext/xmlreader/tests/ |
H A D | 003.phpt | 23 echo $reader->name . ": "; 26 if ($reader->getAttribute($reader->name) == $reader->value) { 32 echo $reader->name . ": "; 35 if ($reader->getAttribute($reader->name) == $reader->value) { 41 echo $reader->name . ": "; 49 echo $reader->name . ": "; 58 echo $reader->name . ": "; 66 echo $reader->name . ": "; 91 XMLReader::moveToAttribute(): Argument #1 ($name) cannot be empty
|
/PHP-8.0/ext/session/tests/ |
H A D | 009.phpt | 2 unset($_SESSION["name"]); test 26 $_SESSION["name"] = "foo"; 33 unset($_SESSION["name"]); 47 ["name"]=> 51 ["name"]=>
|
H A D | 027.phpt | 2 unset($_SESSION["name"]); should work 26 $_SESSION["name"] = "foo"; 33 unset($_SESSION["name"]); 47 ["name"]=> 51 ["name"]=>
|