/php-src/tests/classes/ |
H A D | property_override_publicStatic_protectedStatic.phpt | 7 public static $p = "A::p (static)"; 10 echo self::$p . "\n"; 16 protected static $p = "B::p (static)"; 19 echo self::$p . "\n"; 30 Fatal error: Access level to B::$p must be public (as in class A) in %s on line 11
|
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-src/ext/fileinfo/tests/ |
H A D | finfo_upstream.phpt | 12 foreach($lst as $p) { 13 $mp = dirname($p) . DIRECTORY_SEPARATOR . basename($p, ".testfile") . ".magic"; 14 $tp = dirname($p) . DIRECTORY_SEPARATOR . basename($p, ".testfile") . ".result"; 16 $i = finfo_file( $finfo, $p); 19 echo "'$p' failed\nexp: '$exp'\ngot: '$i'\n";
|
/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf7.c | 506 unsigned char *p = *in, *e = p + *in_len; in mb_utf7_to_wchar() local 538 if (p == e) { in mb_utf7_to_wchar() 567 if (p == e) { in mb_utf7_to_wchar() 594 if (p < e) { in mb_utf7_to_wchar() 597 p++; in mb_utf7_to_wchar() 618 *in = p; in mb_utf7_to_wchar() 739 unsigned char *p = in, *e = p + in_len; in mb_check_utf7() local 743 while (p < e) { in mb_check_utf7() 768 if (p == e) { in mb_check_utf7() 797 if (p == e) { in mb_check_utf7() [all …]
|
H A D | mbfilter_utf32.c | 262 uint32_t c1 = *p++; in mb_utf32_to_wchar() 263 uint32_t c2 = *p++; in mb_utf32_to_wchar() 264 uint32_t c3 = *p++; in mb_utf32_to_wchar() 270 *in = p; in mb_utf32_to_wchar() 276 *in = p; in mb_utf32_to_wchar() 287 unsigned char *p = *in, *e = p + (*in_len & ~3); in mb_utf32be_to_wchar() local 307 p = *in + *in_len; in mb_utf32be_to_wchar() 311 *in = p; in mb_utf32be_to_wchar() 336 unsigned char *p = *in, *e = p + (*in_len & ~3); in mb_utf32le_to_wchar() local 356 p = *in + *in_len; in mb_utf32le_to_wchar() [all …]
|
/php-src/ext/random/ |
H A D | engine_mt19937.c | 105 uint32_t *p = state->state; in mt19937_reload() local 108 for (uint32_t i = N - M; i--; ++p) { in mt19937_reload() 109 *p = twist(p[M], p[0], p[1]); in mt19937_reload() 111 for (uint32_t i = M; --i; ++p) { in mt19937_reload() 112 *p = twist(p[M-N], p[0], p[1]); in mt19937_reload() 114 *p = twist(p[M-N], p[0], state->state[0]); in mt19937_reload() 116 for (uint32_t i = N - M; i--; ++p) { in mt19937_reload() 117 *p = twist_php(p[M], p[0], p[1]); in mt19937_reload() 119 for (uint32_t i = M; --i; ++p) { in mt19937_reload() 120 *p = twist_php(p[M-N], p[0], p[1]); in mt19937_reload() [all …]
|
/php-src/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-src/ext/dom/tests/modern/html/parser/ |
H A D | Element_innerHTML.phpt | 11 $el->innerHTML = '<p>foo</p>'; 17 $el->innerHTML = '<div></div> <p></p>'; 31 $el->innerHTML = '<p>foo</p>'; 37 $el->innerHTML = '<p>foo</p>'; 49 <div xmlns="http://www.w3.org/1999/xhtml"><p>foo</p></div> 55 <div xmlns="http://www.w3.org/1999/xhtml"><div></div> <p></p></div> 61 <style xmlns="http://www.w3.org/1999/xhtml"><p>foo</p></style> 63 <style xmlns="urn:a"><p xmlns="">foo</p></style>
|
H A D | HTMLDocument_fromFile_parser_warning_02.phpt | 14 <p�>foo<p></p> 15 <p id="foo" class="bar"> 20 </p></p�></body></html>
|
/php-src/ext/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_serialize_text_01.phpt | 8 $dom = Dom\HTMLDocument::createFromString("<p></p>", LIBXML_NOERROR); 9 $p = $dom->documentElement->firstChild->nextSibling->firstChild; 10 $p->textContent = "this is <some> &text! \"\""; 15 <html><head></head><body><p>this is <some> &text! ""</p></body></html>
|
/php-src/ext/opcache/jit/ir/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-src/ext/dom/lexbor/lexbor/css/syntax/ |
H A D | anb.c | 338 p = data; in lxb_css_syntax_anb_state_ident_data() 402 p = buf; in lxb_css_syntax_anb_serialize() 406 *p = '+'; in lxb_css_syntax_anb_serialize() 407 p++; in lxb_css_syntax_anb_serialize() 410 *p = '-'; in lxb_css_syntax_anb_serialize() 411 p++; in lxb_css_syntax_anb_serialize() 414 p += lexbor_conv_float_to_data((double) anb->a, p, end - p); in lxb_css_syntax_anb_serialize() 420 *p = 'n'; in lxb_css_syntax_anb_serialize() 421 p++; in lxb_css_syntax_anb_serialize() 433 p++; in lxb_css_syntax_anb_serialize() [all …]
|
/php-src/ext/dom/tests/modern/html/interactions/ |
H A D | noscript.phpt | 10 $dom = Dom\HTMLDocument::createFromString("<!doctype html><html><body><noscript><p>hi</p></noscript… 20 $noscript->textContent = "<p>bye</p>"; 35 <!DOCTYPE html><html><head></head><body><noscript><p>hi</p></noscript></body></html> 38 <html><head/><body><noscript><p>hi</p></noscript></body></html> 40 <!DOCTYPE html><html><head></head><body><noscript><p>bye</p></noscript></body></html> 43 <html><head/><body><noscript><p>bye</p></noscript></body></html>
|
/php-src/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-src/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-src/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-src/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 88 Bucket *p, *end; in zend_accel_move_user_functions() local 104 p = end - count; in zend_accel_move_user_functions() 105 for (; p != end; p++) { in zend_accel_move_user_functions() 119 Bucket *p, *end; in zend_accel_move_user_classes() local 135 p = end - count; in zend_accel_move_user_classes() 136 for (; p != end; p++) { in zend_accel_move_user_classes() 151 Bucket *p, *end; in _zend_accel_function_hash_copy() local 157 for (; p != end; p++) { in _zend_accel_function_hash_copy() 164 _zend_hash_append_ptr_ex(target, p->key, Z_PTR(p->val), 1); in _zend_accel_function_hash_copy() 208 for (; p != end; p++) { in _zend_accel_class_hash_copy() [all …]
|
/php-src/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-src/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-src/ext/dom/tests/modern/common/ |
H A D | template_manual.phpt | 18 $template->innerHTML = "<p>hello</template></p>"; 32 string(12) "<p>hello</p>" 35 <template xmlns="http://www.w3.org/1999/xhtml"><p>hello</p></template> 36 <template><p>hello</p></template>
|
/php-src/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)
|
/php-src/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() 1004 *p = tmp; in ZEND_INI_MH() 1041 *p = new_value; in ZEND_INI_MH() [all …]
|
/php-src/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-src/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��
|
/php-src/ext/pdo_firebird/ |
H A D | firebird_driver.c | 222 if (p < end && *p == '*') in php_firebird_get_token() 225 p++; in php_firebird_get_token() 228 if (*p++ == '*' && p < end && *p == '/') in php_firebird_get_token() 242 if (p < end && *p == '-') in php_firebird_get_token() 249 if (p < end && *p == '\n') in php_firebird_get_token() 267 p++; in php_firebird_get_token() 273 p++; in php_firebird_get_token() 279 p++; in php_firebird_get_token() 285 (*p != '/') && (*p != '-') && (*p != ':') && (*p != '?') && in php_firebird_get_token() 286 (*p != '\'') && (*p != '"')) in php_firebird_get_token() [all …]
|