/php-src/ext/mbstring/ |
H A D | php_unicode.c | 328 *p++ = w; in php_unicode_convert_case() 342 *p++ = w; in php_unicode_convert_case() 347 p = emit_special_casing_sequence(w, p); in php_unicode_convert_case() 349 *p++ = w; in php_unicode_convert_case() 358 *p++ = w; in php_unicode_convert_case() 400 p = emit_special_casing_sequence(w, p); in php_unicode_convert_case() 402 *p++ = w; in php_unicode_convert_case() 411 *p++ = w; in php_unicode_convert_case() 416 p = emit_special_casing_sequence(w, p); in php_unicode_convert_case() 418 *p++ = w; in php_unicode_convert_case() [all …]
|
/php-src/ext/standard/tests/file/windows_mb_path/ |
H A D | test_long_path_mkdir.phpt | 18 $p = ""; 23 $p .= "$s\\"; 35 $p = $start . "\\" . $p; 37 var_dump($p); 38 var_dump(mkdir($p, 0777, true)); 39 var_dump(file_exists($p)); 41 $p7 = $p . "hello.txt"; 49 $p0 = substr($p, 0, strlen($p) - $i*51);
|
/php-src/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 1090 p->fld = ~p->fld \ 1197 p->s[sizeof(p->s) - 1] = '\0'; in mconvert() 1228 p->h = CAST(short, BE16(p)); in mconvert() 1235 p->l = CAST(int32_t, BE32(p)); in mconvert() 1248 p->h = CAST(short, LE16(p)); in mconvert() 1255 p->l = CAST(int32_t, LE32(p)); in mconvert() 1270 p->l = CAST(int32_t, ME32(p)); in mconvert() 1279 p->l = BE32(p); in mconvert() 1284 p->l = LE32(p); in mconvert() 1293 p->q = BE64(p); in mconvert() [all …]
|
/php-src/ext/spl/tests/ |
H A D | arrayObject_setFlags_basic1.phpt | 6 public $p = 'object property'; 11 var_dump(isset($ao->p)); 13 var_dump($ao->p); 15 $ao->p = $ao->p . '.changed'; 16 var_dump($ao->p); 19 $ao = new C(array('p'=>'array element')); 26 unset($ao->p); 30 unset($ao->p); 47 Warning: Undefined array key "p" in %s on line %d 50 Warning: Undefined array key "p" in %s on line %d
|
/php-src/ext/standard/tests/strings/ |
H A D | strip_tags_basic2.phpt | 8 $string = "<html><p>hello</p><b>world</b><a href=\"#fragment\">Other text</a></html><?php echo hell… 13 "<p>", 14 '<p>', 19 "<html><p><a><?php" 41 string(27) "<p>hello</p>worldOther text" 43 string(27) "<p>hello</p>worldOther text" 53 string(64) "<html><p>hello</p>world<a href="#fragment">Other text</a></html>"
|
/php-src/ext/dom/tests/ |
H A D | bug78221.phpt | 8 $doc->loadHTML('<p id=x>foo</p>'); 9 $p = $doc->getElementById('x'); 10 $p->childNodes[0]->textContent = ''; 11 $p->normalize(); 12 var_dump($p->childNodes->length);
|
H A D | DOMDocument_getElementsByTagName_liveness_xinclude.phpt | 12 <p>Hello</p> 16 <p>xinclude: book.xml not found</p> 25 $elements = $dom->getElementsByTagName('p'); 37 <p>Hello</p> 40 <p>xinclude: book.xml not found</p>
|
/php-src/tests/classes/ |
H A D | property_override_public_private.phpt | 7 public $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 public (as in class A) in %s on line 11
|
H A D | property_override_public_protected.phpt | 7 public $p = "A::p"; 10 echo $this->p . "\n"; 16 protected $p = "B::p"; 19 echo $this->p . "\n"; 32 Fatal error: Access level to B::$p must be public (as in class A) in %s on line 11
|
H A D | property_override_protectedStatic_privateStatic.phpt | 7 protected static $p = "A::p (static)"; 10 echo self::$p . "\n"; 16 private static $p = "B::p (static)"; 19 echo self::$p . "\n"; 30 Fatal error: Access level to B::$p must be protected (as in class A) or weaker in %s on line 11
|
H A D | property_override_publicStatic_privateStatic.phpt | 7 public static $p = "A::p (static)"; 10 echo self::$p . "\n"; 16 private 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_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/phar/tests/files/ |
H A D | nophar.phar.inc | 4 $p = new Phar($fname); 5 $p['index.php'] = '<?php include "b/c.php";' . "\n"; 6 $p['web.php'] = '<?php echo "web\n";'; 7 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("index.php", "r", true);echo stream_get_contents($a… 8 $p['d'] = "in d\n"; 9 $p->setStub($p->createDefaultStub('index.php', 'web.php'));
|
/php-src/ext/phar/tests/cache_list/files/ |
H A D | nophar.phar.inc | 4 $p = new Phar($fname); 5 $p['index.php'] = '<?php include "b/c.php";' . "\n"; 6 $p['web.php'] = '<?php echo "web\n";'; 7 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("index.php", "r", true);echo stream_get_contents($a… 8 $p['d'] = "in d\n"; 9 $p->setStub($p->createDefaultStub('index.php', 'web.php'));
|
/php-src/ext/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_escape_attribute.phpt | 8 $dom = DOM\HTMLDocument::createFromString("<p></p>", LIBXML_NOERROR); 9 $p = $dom->documentElement->firstChild->nextSibling->firstChild; 10 $p->setAttribute("foo", "<bar>\"'&"); 15 <html><head></head><body><p foo="<bar>"'&"></p></body></html>
|
/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_htmlent.c | 114 char *p; in mbfl_filt_conv_html_enc() local 116 for (p = e->name; *p != '\0'; p++) { in mbfl_filt_conv_html_enc() 130 *(--p) = '\0'; in mbfl_filt_conv_html_enc() 136 for (; *p != '\0'; p++) { in mbfl_filt_conv_html_enc() 345 unsigned char *p = *in, *e = p + *in_len; in mb_htmlent_to_wchar() local 357 if (*p == '#' && (e - p) >= 2) { in mb_htmlent_to_wchar() 403 … if (!strncmp((char*)p, entity->name, terminator - p) && strlen(entity->name) == terminator - p) { in mb_htmlent_to_wchar() 416 *out++ = *p++; in mb_htmlent_to_wchar() 419 *out++ = *p++; in mb_htmlent_to_wchar() 428 *in_len = e - p; in mb_htmlent_to_wchar() [all …]
|
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/Zend/tests/ |
H A D | bug44660.phpt | 9 echo $a->p; 13 $a->p = $s; 20 $a->p++; 27 $a->p =& $s; 34 $s =& $a->p; 41 $a->p[0] = $s; 54 Attempt to assign property "p" on true 57 Attempt to increment/decrement property "p" on true 60 Attempt to modify property "p" on true 63 Attempt to modify property "p" on true [all …]
|
/php-src/Zend/ |
H A D | zend_variables.c | 37 typedef void (ZEND_FASTCALL *zend_rc_dtor_func_t)(zend_refcounted *p); 54 ZEND_API void ZEND_FASTCALL rc_dtor_func(zend_refcounted *p) in rc_dtor_func() argument 56 ZEND_ASSERT(GC_TYPE(p) <= IS_CONSTANT_AST); in rc_dtor_func() 57 zend_rc_dtor_func[GC_TYPE(p)](p); in rc_dtor_func() 113 ZEND_API void zval_add_ref(zval *p) in zval_add_ref() argument 115 if (Z_REFCOUNTED_P(p)) { in zval_add_ref() 116 if (Z_ISREF_P(p) && Z_REFCOUNT_P(p) == 1) { in zval_add_ref() 117 ZVAL_COPY(p, Z_REFVAL_P(p)); in zval_add_ref() 119 Z_ADDREF_P(p); in zval_add_ref()
|
/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/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/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 | HTMLDocument_fromFile_parser_warning_02.phpt | 14 <p�>foo<p></p> 15 <p id="foo" class="bar"> 20 </p></p�></body></html>
|