/PHP-8.2/ext/pspell/tests/ |
H A D | 002.phpt | 12 $p = pspell_new('en'); 14 var_dump(pspell_check($p, 'somebogusword')); 16 var_dump(pspell_add_to_session($p, '')); 17 var_dump(pspell_add_to_session($p, 'somebogusword')); 18 var_dump(pspell_check($p, 'somebogusword')); 20 $res = @pspell_clear_session($p); 23 var_dump(pspell_check($p, 'somebogusword'));
|
/PHP-8.2/win32/ |
H A D | nice.c | 62 PHPAPI int nice(zend_long p) in nice() argument 66 if (p < -9) { in nice() 68 } else if (p < -4) { in nice() 70 } else if (p > 9) { in nice() 72 } else if (p > 4) { in nice()
|
/PHP-8.2/ext/random/ |
H A D | engine_mt19937.c | 100 uint32_t *p = state->state; in mt19937_reload() local 103 for (uint32_t i = N - M; i--; ++p) { in mt19937_reload() 104 *p = twist(p[M], p[0], p[1]); in mt19937_reload() 106 for (uint32_t i = M; --i; ++p) { in mt19937_reload() 107 *p = twist(p[M-N], p[0], p[1]); in mt19937_reload() 109 *p = twist(p[M-N], p[0], state->state[0]); in mt19937_reload() 111 for (uint32_t i = N - M; i--; ++p) { in mt19937_reload() 112 *p = twist_php(p[M], p[0], p[1]); in mt19937_reload() 114 for (uint32_t i = M; --i; ++p) { in mt19937_reload() 115 *p = twist_php(p[M-N], p[0], p[1]); in mt19937_reload() [all …]
|
/PHP-8.2/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 83 Bucket *p, *end; in zend_accel_move_user_functions() local 99 p = end - count; in zend_accel_move_user_functions() 100 for (; p != end; p++) { in zend_accel_move_user_functions() 114 Bucket *p, *end; in zend_accel_move_user_classes() local 130 p = end - count; in zend_accel_move_user_classes() 131 for (; p != end; p++) { in zend_accel_move_user_classes() 146 Bucket *p, *end; in _zend_accel_function_hash_copy() local 152 for (; p != end; p++) { in _zend_accel_function_hash_copy() 159 _zend_hash_append_ptr_ex(target, p->key, Z_PTR(p->val), 1); in _zend_accel_function_hash_copy() 203 for (; p != end; p++) { in _zend_accel_class_hash_copy() [all …]
|
/PHP-8.2/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf7.c | 505 unsigned char *p = *in, *e = p + *in_len; in mb_utf7_to_wchar() local 537 if (p == e) { in mb_utf7_to_wchar() 564 if (p == e) { in mb_utf7_to_wchar() 589 if (p < e) { in mb_utf7_to_wchar() 592 p++; in mb_utf7_to_wchar() 608 *in = p; in mb_utf7_to_wchar() 729 unsigned char *p = in, *e = p + in_len; in mb_check_utf7() local 733 while (p < e) { in mb_check_utf7() 758 if (p == e) { in mb_check_utf7() 787 if (p == e) { in mb_check_utf7() [all …]
|
H A D | mbfilter_utf32.c | 259 uint32_t c1 = *p++; in mb_utf32_to_wchar() 260 uint32_t c2 = *p++; in mb_utf32_to_wchar() 261 uint32_t c3 = *p++; in mb_utf32_to_wchar() 267 *in = p; in mb_utf32_to_wchar() 273 *in = p; in mb_utf32_to_wchar() 284 unsigned char *p = *in, *e = p + (*in_len & ~3); in mb_utf32be_to_wchar() local 304 p = *in + *in_len; in mb_utf32be_to_wchar() 308 *in = p; in mb_utf32be_to_wchar() 333 unsigned char *p = *in, *e = p + (*in_len & ~3); in mb_utf32le_to_wchar() local 353 p = *in + *in_len; in mb_utf32le_to_wchar() [all …]
|
H A D | mbfilter_ucs4.c | 327 uint32_t c1 = *p++; in mb_ucs4_to_wchar() 328 uint32_t c2 = *p++; in mb_ucs4_to_wchar() 329 uint32_t c3 = *p++; in mb_ucs4_to_wchar() 335 *in = p; in mb_ucs4_to_wchar() 341 *in = p; in mb_ucs4_to_wchar() 352 unsigned char *p = *in, *e = p + (*in_len & ~3); in mb_ucs4be_to_wchar() local 367 p = *in + *in_len; in mb_ucs4be_to_wchar() 371 *in = p; in mb_ucs4be_to_wchar() 396 unsigned char *p = *in, *e = p + (*in_len & ~3); in mb_ucs4le_to_wchar() local 411 p = *in + *in_len; in mb_ucs4le_to_wchar() [all …]
|
H A D | mbfilter_utf7imap.c | 517 unsigned char *p = *in, *e = p + *in_len; in mb_utf7imap_to_wchar() local 551 if (p == e) { in mb_utf7imap_to_wchar() 578 if (p == e) { in mb_utf7imap_to_wchar() 602 if (p < e && *p == '-') { in mb_utf7imap_to_wchar() 604 p++; in mb_utf7imap_to_wchar() 624 *in = p; in mb_utf7imap_to_wchar() 750 unsigned char *p = in, *e = p + in_len; in mb_check_utf7imap() local 754 while (p < e) { in mb_check_utf7imap() 780 if (p == e) { in mb_check_utf7imap() 807 if (p == e) { in mb_check_utf7imap() [all …]
|
H A D | mbfilter_ucs2.c | 245 unsigned char *p = *in; in mb_ucs2_to_wchar() local 252 *in = p; in mb_ucs2_to_wchar() 258 *in = p; in mb_ucs2_to_wchar() 269 unsigned char *p = *in, *e = p + (*in_len & ~1); in mb_ucs2be_to_wchar() local 282 p++; in mb_ucs2be_to_wchar() 285 *in_len -= (p - *in); in mb_ucs2be_to_wchar() 286 *in = p; in mb_ucs2be_to_wchar() 311 unsigned char *p = *in, *e = p + (*in_len & ~1); in mb_ucs2le_to_wchar() local 324 p++; in mb_ucs2le_to_wchar() 327 *in_len -= (p - *in); in mb_ucs2le_to_wchar() [all …]
|
/PHP-8.2/tests/classes/ |
H A D | property_override_protected_private.phpt | 7 protected $p = "A::p"; 10 echo $this->p . "\n"; 16 private $p = "B::p"; 19 echo $this->p . "\n"; 32 Fatal error: Access level to B::$p must be protected (as in class A) or weaker in %s on line 11
|
/PHP-8.2/ext/opcache/tests/ |
H A D | issue0115.phpt | 18 $p = new Phar(__DIR__ . '/issue0115_1.phar.php', 0, 'this'); 19 $p['index.php'] = '<?php 23 $p['hello.php'] = "Hello World 1!\n"; 24 $p->setStub($stub); 25 unset($p); 26 $p = new Phar(__DIR__ . '/issue0115_2.phar.php', 0, 'this'); 27 $p['index.php'] = '<?php 31 $p['hello.php'] = "Hello World 2!\n"; 32 $p->setStub($stub); 33 unset($p);
|
/PHP-8.2/ext/opcache/jit/dynasm/ |
H A D | dasm_ppc.lua | 318 p[4] = "0"; p[5] = "31" 321 p[3] = "32-("..p[3]..")"; p[4] = "0"; p[5] = "31" 324 p[4] = "0"; p[5] = "31" 327 p[5] = "31-("..p[3]..")"; p[4] = "0" 330 p[4] = p[3]; p[3] = "32-("..p[3]..")"; p[5] = "31" 333 p[4] = p[3]; p[3] = "0"; p[5] = "31" 336 p[5] = "31-("..p[3]..")"; p[3] = "0"; p[4] = "0" 834 p[3] = "64-("..p[3]..")"; p[4] = "0" 843 p[4] = p[3]; p[3] = "64-("..p[3]..")" 846 p[4] = p[3]; p[3] = "0" [all …]
|
/PHP-8.2/ext/phar/tests/tar/ |
H A D | phar_copy.phpt | 19 $p = new Phar($fname); 23 $p['a'] = 'hi'; 24 $p->startBuffering(); 25 $p->copy('a', 'b'); 26 echo file_get_contents($p['b']->getPathName()); 27 $p->copy('b', 'c'); 28 $p->stopBuffering(); 29 echo file_get_contents($p['c']->getPathName()); 31 var_dump($p->isFileFormat(Phar::TAR)); 32 $p->copy('a', $ename);
|
/PHP-8.2/ext/phar/tests/zip/ |
H A D | phar_copy.phpt | 18 $p = new Phar($fname); 22 $p['a'] = 'hi'; 23 $p->startBuffering(); 24 $p->copy('a', 'b'); 25 echo file_get_contents($p['b']->getPathName()); 26 $p->copy('b', 'c'); 27 $p->stopBuffering(); 28 echo file_get_contents($p['c']->getPathName()); 30 var_dump($p->isFileFormat(Phar::ZIP)); 31 $p->copy('a', $ename);
|
/PHP-8.2/ext/reflection/tests/ |
H A D | parameters_001.phpt | 16 $p = new ReflectionParameter(array('Test', 'func'), 'x'); 17 var_dump($p->isOptional()); 19 $p = new ReflectionParameter(array('Test', 'func'), 'y'); 20 var_dump($p->isOptional()); 23 $p = new ReflectionParameter(array('Test', 'func'), 'z'); 24 var_dump($p->isOptional()); 29 $p = new ReflectionParameter(array('Test', 'func'), -1); 30 var_dump($p->isOptional());
|
/PHP-8.2/ext/dom/tests/ |
H A D | bug80268_2.phpt | 12 $doc->loadHTML("<p>foo\0bar</p>"); 14 var_dump(strpos($html, '<p>foo</p>') !== false); 16 file_put_contents(__DIR__ . '/80268.html', "<p>foo\0bar</p>"); 20 var_dump(strpos($html, '<p>foo</p>') !== false);
|
/PHP-8.2/Zend/tests/ |
H A D | bug32799.phpt | 8 if (!isset($GLOBALS['p'])) { 11 $GLOBALS['p']->c++; // no warning 12 print $GLOBALS['p']->c."\n"; // segfault 13 var_dump($GLOBALS['p']); 17 $p=new test; 18 $p=null; //destroy the object by a new assignment (segfault)
|
H A D | bug68262.phpt | 7 public $p; 11 $first->p = 'init'; 14 $ref =& $first->p; 18 $clone->p = 'foo'; 20 var_dump($first->p);
|
/PHP-8.2/Zend/ |
H A D | zend_ini.c | 206 zend_ini_entry *p; in zend_register_ini_entries_ex() local 233 p->value = NULL; in zend_register_ini_entries_ex() 239 p->modified = 0; in zend_register_ini_entries_ex() 242 if (zend_hash_add_ptr(directives, p->name, (void*)p) == NULL) { in zend_register_ini_entries_ex() 243 if (p->name) { in zend_register_ini_entries_ex() 251 …(!p->on_modify || p->on_modify(p, Z_STR_P(default_value), p->mh_arg1, p->mh_arg2, p->mh_arg3, ZEND… in zend_register_ini_entries_ex() 259 p->on_modify(p, p->value, p->mh_arg1, p->mh_arg2, p->mh_arg3, ZEND_INI_STAGE_STARTUP); in zend_register_ini_entries_ex() 318 p->on_modify(p, p->value, p->mh_arg1, p->mh_arg2, p->mh_arg3, stage); in zend_ini_refresh_caches() 964 *p = tmp; in ZEND_INI_MH() 1001 *p = new_value; in ZEND_INI_MH() [all …]
|
/PHP-8.2/ext/calendar/ |
H A D | calendar.c | 378 p++; in heb_number_to_chars() 382 p++; in heb_number_to_chars() 397 p++; in heb_number_to_chars() 404 p++; in heb_number_to_chars() 411 p++; in heb_number_to_chars() 413 p++; in heb_number_to_chars() 418 p++; in heb_number_to_chars() 425 p++; in heb_number_to_chars() 435 p++; in heb_number_to_chars() 438 *(p) = *(p - 1); in heb_number_to_chars() [all …]
|
/PHP-8.2/ext/phar/tests/cache_list/files/ |
H A D | write22.phar | 2 $p = new Phar(__FILE__); 3 var_dump($p["test.txt"]->isCompressed()); 4 $p["test.txt"]->decompress(); 5 var_dump($p["test.txt"]->isCompressed()); 8 6test.txt���H���E���/�(P���p� �w��
|
H A D | write14.phar | 2 $p = new Phar(__FILE__); 3 var_dump($p["test.txt"]->isCompressed()); 5 $p->decompressFiles(); 6 var_dump($p["test.txt"]->isCompressed()); 9 6test.txt���H���E���/�(P���p� �w��
|
H A D | write23.phar | 2 $p = new Phar(__FILE__); 3 var_dump(isset($p["test.txt"]), isset($p["newname"])); 5 var_dump(isset($p["test.txt"]), isset($p["newname"]));
|
/PHP-8.2/ext/pcre/tests/ |
H A D | bug41148.phpt | 22 /* 12 */ "/<p>([\n]*(<br[[:space:]]*\/?".">)*)*/S", 33 /* 6 */ "<p>", 38 /* 11 */ "<p>", 39 /* 12 */ "<p>", 40 /* 13 */ "<blockquote class=\"spip\"><p>", 41 /* 14 */ "</blockquote><p>" 50 <p>
|
/PHP-8.2/ext/ffi/tests/ |
H A D | 030.phpt | 10 $p = FFI::new("bool[2]"); 11 var_dump($p); 12 $p[1] = true; 13 var_dump($p[0]); 14 var_dump($p[1]);
|