Home
last modified time | relevance | path

Searched refs:old (Results 1 – 25 of 161) sorted by relevance

1234567

/PHP-8.1/ext/pcntl/tests/
H A D003.phpt17 var_dump(count($old));
18 pcntl_sigprocmask(SIG_BLOCK, array(SIGINT), $old);
19 var_dump(count($old));
20 pcntl_sigprocmask(SIG_UNBLOCK, array(SIGINT), $old);
21 var_dump(count($old));
22 pcntl_sigprocmask(SIG_SETMASK, array(SIGINT), $old);
23 var_dump(count($old));
24 pcntl_sigprocmask(SIG_SETMASK, array(), $old);
25 var_dump(count($old));
28 pcntl_sigprocmask(SIG_SETMASK, $prev, $old);
[all …]
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_atomic.h37 static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /*… in atomic_cmp_set() argument
42 "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "memory"); in atomic_cmp_set()
63 static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /*… in atomic_cmp_set() argument
68 "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "memory"); in atomic_cmp_set()
98 static inline atomic_uint_t atomic_cas_64(atomic_t *lock, atomic_uint_t old, atomic_uint_t new) /* … in atomic_cas_64() argument
100 __asm__ __volatile__("casx [%2], %3, %0 " : "=&r"(new) : "0"(new), "r"(lock), "r"(old): "memory"); in atomic_cas_64()
106 static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /*… in atomic_cmp_set() argument
108 return (atomic_cas_64(lock, old, set)==old); in atomic_cmp_set()
115 static inline atomic_uint_t atomic_cas_32(atomic_t *lock, atomic_uint_t old, atomic_uint_t new) /* … in atomic_cas_32() argument
117 __asm__ __volatile__("cas [%2], %3, %0 " : "=&r"(new) : "0"(new), "r"(lock), "r"(old): "memory"); in atomic_cas_32()
[all …]
/PHP-8.1/ext/soap/tests/bugs/
H A Dbug31695.phpt37 $old = $client->__setLocation("test://3");
38 echo "$old\n";
41 $client->__setLocation($old);
43 $old = $client->__setLocation();
45 $client->__setLocation($old);
/PHP-8.1/Zend/tests/
H A Dbug32322.phpt25 echo "Using old class " . self::$instance -> myname . "\n";
37 echo "Using old class " . $instance2 -> myname . "\n";
69 Using old class Singleton1
72 Using old class Singleton1
75 Using old class Singleton2
78 Using old class Singleton2
H A Dbug79818.phpt2 Bug #79818: BIND_STATIC frees old variable value too early
/PHP-8.1/scripts/dev/
H A Dbless_tests.php108 $result[] = $elem->old;
140 public $old; variable in DiffElem
144 public function __construct(int $type, $old, $new) { argument
146 $this->old = $old;
167 * @param array $old Original array
172 public function diff(array $old, array $new) { argument
173 list($trace, $x, $y) = $this->calculateTrace($old, $new);
174 return $this->extractDiff($trace, $x, $y, $old, $new);
/PHP-8.1/ext/reflection/tests/
H A Dbug79487.phpt14 public static $a = 'A old';
17 public static $b = 'B old';
31 string(5) "B old"
/PHP-8.1/docs/
H A Doutput-api.md1 # API adjustment to the old output control code
23 // not possible with old API
38 // not possible with old API
46 // not possible with old API
82 // not possible with old API, unless hardcoding into output.c
86 // not possible with old API
90 // not possible with old API
94 //not possible with old API
98 // not possible with old API
102 // not possible with old API
[all …]
/PHP-8.1/ext/session/tests/
H A Dbug79413.phpt8 $old = session_id();
10 var_dump($new !== $old);
/PHP-8.1/ext/fileinfo/libmagic/
H A Dcompress.c529 unsigned char flg = old[3]; in uncompressgzipped()
535 data_start += 2 + old[data_start] + old[data_start + 1] * 256; in uncompressgzipped()
538 while(data_start < *n && old[data_start]) in uncompressgzipped()
543 while(data_start < *n && old[data_start]) in uncompressgzipped()
554 old += data_start; in uncompressgzipped()
570 z.next_in = CCAST(Bytef *, old); in uncompresszlib()
662 xz.next_in = CCAST(const uint8_t *, old); in uncompressxzlib()
737 writechild(int fd, const void *old, size_t n) in writechild() argument
752 if (swrite(fd, old, n) != CAST(ssize_t, n)) { in writechild()
833 return uncompressbzlib(old, newch, bytes_max, n); in uncompressbuf()
[all …]
/PHP-8.1/ext/standard/tests/general_functions/
H A Dbug79254.phpt6 $old = getenv();
12 var_dump(array_diff($new, $old));
/PHP-8.1/ext/standard/
H A Dhtml.h47 PHPAPI zend_string *php_escape_html_entities(const unsigned char *old, size_t oldlen, int all, int …
48 PHPAPI zend_string *php_escape_html_entities_ex(const unsigned char *old, size_t oldlen, int all, i…
H A Dhtml.c820 const char *old, in traverse_for_entities() argument
833 lim = old + oldlen; /* terminator address */ in traverse_for_entities()
836 for (p = old, q = ZSTR_VAL(ret); p < lim;) { in traverse_for_entities()
1028 const unsigned char *old, in find_entity_for_char() argument
1182 mbsequence = &old[cursor_before]; in php_escape_html_entities_ex()
1205 &rep_len, old, oldlen, &cursor); in php_escape_html_entities_ex()
1263 if (old[cursor] == '#') { /* numeric entity */ in php_escape_html_entities_ex()
1266 char *pos = (char*)&old[cursor+1]; in php_escape_html_entities_ex()
1274 ent_len = pos - (char*)&old[cursor]; in php_escape_html_entities_ex()
1277 const char *start = (const char *) &old[cursor], in php_escape_html_entities_ex()
[all …]
/PHP-8.1/ext/standard/tests/serialize/
H A Dbug49649.phpt15 * public $notThere = 'old';
45 string(3) "old"
H A Dbug49649_1.phpt15 * public $notThere = 'old';
45 string(3) "old"
H A Dbug49649_2.phpt15 * public $notThere = 'old';
45 string(3) "old"
H A D005.phpt6 // This test verifies that old and new style (un)serializing do not interfere.
123 // Now we have an autoloader, that will be called before the old style header.
124 // If the old style handler also fails to register the class then the object
131 … __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is nec…
156 … __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is nec…
165 … __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is nec…
H A Dbug36424.phpt45 … __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is nec…
47 … __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is nec…
49 … __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is nec…
/PHP-8.1/tests/lang/
H A Dbug21961.phpt52 $x->getdrunk('The old Tavern');
56 string(14) "The old Tavern"
/PHP-8.1/ext/soap/
H A Dphp_xml.c92 bool old; in soap_xmlParseFile() local
105 old = php_libxml_disable_entity_loader(1); in soap_xmlParseFile()
107 php_libxml_disable_entity_loader(old); in soap_xmlParseFile()
144 bool old; in soap_xmlParseMemory() local
156 old = php_libxml_disable_entity_loader(1); in soap_xmlParseMemory() local
158 php_libxml_disable_entity_loader(old); in soap_xmlParseMemory()
/PHP-8.1/ext/mysqli/tests/
H A Dtable.inc11 printf("Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
16 printf("Failed to drop old test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link));
/PHP-8.1/ext/standard/tests/file/
H A Dfileinode_variation.phpt57 fclose( fopen("$file_path/old.txt", "w") );
58 print( fileinode("$file_path/old.txt") )."\n";
61 rename("$file_path/old.txt", "$file_path/new.txt");
/PHP-8.1/ext/openssl/tests/
H A Dopenssl_encrypt_crash.phpt2 openssl_encrypt() crash with old OpenSSL
/PHP-8.1/ext/opcache/
H A Dshared_alloc_win32.c188 DWORD old; in zend_shared_alloc_reattach() local
190 if (!VirtualProtect(mapping_base, requested_size, PAGE_READWRITE, &old)) { in zend_shared_alloc_reattach()
315 DWORD old; in create_segments() local
317 if (!VirtualProtect(mapping_base, requested_size, PAGE_READWRITE, &old)) { in create_segments()
/PHP-8.1/Zend/
H A DREADME.md41 Most parts of the old zend_execute.c go into `zend_vm_def.h`. Here you can find
59 same as in old `zend_execute.c`, but now it uses macros to access opcode
62 You can see the conformity of new macros to old code in the following list:
131 or exclude old executor together with specialized one using
132 `--without-old-executor`. At last you can debug executor using original

Completed in 34 milliseconds

1234567