Home
last modified time | relevance | path

Searched refs:p (Results 76 – 100 of 782) sorted by relevance

12345678910>>...32

/PHP-8.1/ext/phar/tests/zip/
H A Dphar_setsignaturealgo2.phpt20 $p = new Phar($fname);
21 $p['file1.txt'] = 'hi';
22 var_dump($p->getSignature());
26 $p = new Phar($fname2);
27 var_dump($p->getSignature());
32 $p = new Phar($fname3);
33 var_dump($p->getSignature());
38 $p = new Phar($fname4);
39 var_dump($p->getSignature());
46 $p = new Phar($fname5);
[all …]
/PHP-8.1/ext/dom/tests/
H A DDOMElement_append_hierarchy_test.phpt9 $dom_original->loadXML('<p><b>hello</b><b><i>world</i></b></p>');
56 $dom2->loadXML('<p>other</p>');
68 string(39) "<p><b>hello<b><i>world</i></b></b></p>
71 string(39) "<p><b>hello<i>world</i></b><b></b></p>
74 string(39) "<p><b><i>world<b>hello</b></i></b></p>
78 string(39) "<p><b>hello</b><b><i>world</i></b></p>
82 string(39) "<p><b>hello</b><b><i>world</i></b></p>
86 string(13) "<p>other</p>
88 string(39) "<p><b>hello</b><b><i>world</i></b></p>
H A DDOMElement_prepend_hierarchy_test.phpt9 $dom_original->loadXML('<p><b>hello</b><b><i>world</i></b></p>');
56 $dom2->loadXML('<p>other</p>');
68 string(39) "<p><b><b><i>world</i></b>hello</b></p>
71 string(39) "<p><b><i>world</i>hello</b><b></b></p>
74 string(39) "<p><b><i><b>hello</b>world</i></b></p>
78 string(39) "<p><b>hello</b><b><i>world</i></b></p>
82 string(39) "<p><b>hello</b><b><i>world</i></b></p>
86 string(13) "<p>other</p>
88 string(39) "<p><b>hello</b><b><i>world</i></b></p>
H A Dbug80268.phpt12 $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);
H A DDOMDocument_saveHTML_variant2.phpt13 <p>Hi.<br/>there</p>
18 $e = $d->getElementsByTagName("p");
24 <p>Hi.<br/>there</p>
25 <p>Hi.<br>there</p>
H A Dbug78221.phpt8 $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);
/PHP-8.1/ext/pdo_firebird/tests/
H A Dbug_77863.phpt29 $query->bindValue('p', 0, PDO::PARAM_BOOL);
33 $query->bindValue('p', 1, PDO::PARAM_BOOL);
37 $query->bindValue('p', false, PDO::PARAM_BOOL);
41 $query->bindValue('p', true, PDO::PARAM_BOOL);
53 $query->bindValue('p', null, PDO::PARAM_BOOL);
58 $query->bindValue('p', false, PDO::PARAM_STR);
62 $query->bindValue('p', true, PDO::PARAM_STR);
66 $query->bindValue('p', 0, PDO::PARAM_STR);
70 $query->bindValue('p', 1, PDO::PARAM_STR);
95 $query->bindValue('p', 0, PDO::PARAM_INT);
[all …]
/PHP-8.1/ext/phar/
H A Dgdbhelp12 set $p = $ht.pListHead
14 while $p != 0
21 set $temp = *(phar_archive_data*)$p->pDataPtr
32 set $p = $p->pListNext
56 set $p = $ht.pListHead
59 while $p != 0
77 set $p = $p->pListNext
89 set $p = $ht.pListHead
91 while $p != 0
92 set $t = (*(phar_archive_data*)$p->pDataPtr)
[all …]
/PHP-8.1/ext/ffi/tests/
H A D032.phpt9 $p = FFI::new("
19 var_dump(FFI::sizeof($p));
21 $p->s->c = $i;
22 $p->s->d = $i;
23 echo "$i => 3-bit int {$p->s->c}, 3-bit uint {$p->s->d}\n";
25 $p->s->a = 0;
26 $p->s->c = 0;
27 $p->s->d = 0;
28 $p->s->b = 0x7fffffff;
31 printf("%02x", $p->i[--$i]);
/PHP-8.1/ext/standard/
H A Dphp_crypt_r.c103 ZEND_TLS char passwd[MD5_HASH_MAX_LEN], *p; in php_md5_crypt_r() local
191 p = passwd + sl + MD5_MAGIC_LEN + 1; in php_md5_crypt_r()
193 l = (final[ 0]<<16) | (final[ 6]<<8) | final[12]; to64(p,l,4); p += 4; in php_md5_crypt_r()
194 l = (final[ 1]<<16) | (final[ 7]<<8) | final[13]; to64(p,l,4); p += 4; in php_md5_crypt_r()
195 l = (final[ 2]<<16) | (final[ 8]<<8) | final[14]; to64(p,l,4); p += 4; in php_md5_crypt_r()
196 l = (final[ 3]<<16) | (final[ 9]<<8) | final[15]; to64(p,l,4); p += 4; in php_md5_crypt_r()
197 l = (final[ 4]<<16) | (final[10]<<8) | final[ 5]; to64(p,l,4); p += 4; in php_md5_crypt_r()
198 l = final[11] ; to64(p,l,2); p += 2; in php_md5_crypt_r()
199 *p = '\0'; in php_md5_crypt_r()
/PHP-8.1/ext/pdo_firebird/
H A Dfirebird_driver.c218 if (p < end && *p == '*') in getToken()
221 p++; in getToken()
224 if (*p++ == '*' && p < end && *p == '/') in getToken()
238 if (p < end && *p == '-') in getToken()
245 if (p < end && *p == '\n') in getToken()
263 p++; in getToken()
269 p++; in getToken()
275 p++; in getToken()
281 (*p != '/') && (*p != '-') && (*p != ':') && (*p != '?') && in getToken()
282 (*p != '\'') && (*p != '"')) in getToken()
[all …]
/PHP-8.1/Zend/
H A Dzend_variables.c37 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-8.1/ext/pcre/tests/
H A Dbug79363.phpt2 Bug #79363 (\p{L} doesn't work alongside \p{Arabic} in a character class)
6 var_dump(preg_replace('/[\p{L}\p{Arabic}]/', '0', $str));
7 var_dump(preg_replace('/[^\p{L}\p{Arabic}]/', '0', $str));
/PHP-8.1/ext/standard/tests/file/windows_mb_path/
H A Dtest_long_path_mkdir.phpt18 $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-8.1/ext/spl/tests/
H A DarrayObject_setFlags_basic1.phpt6 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-8.1/ext/standard/tests/strings/
H A Dstrip_tags_basic2.phpt8 $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-8.1/tests/classes/
H A Dproperty_override_public_private.phpt7 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 Dproperty_override_public_protected.phpt7 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 Dproperty_override_protectedStatic_privateStatic.phpt7 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 Dproperty_override_publicStatic_privateStatic.phpt7 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 Dproperty_override_publicStatic_protectedStatic.phpt7 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
/PHP-8.1/ext/phar/tests/files/
H A Dnophar.phar.inc4 $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-8.1/ext/phar/tests/cache_list/files/
H A Dnophar.phar.inc4 $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-8.1/ext/fileinfo/libmagic/
H A Dsoftmagic.c1075 p->fld = ~p->fld \
1175 p->s[sizeof(p->s) - 1] = '\0'; in mconvert()
1206 p->h = CAST(short, BE16(p)); in mconvert()
1213 p->l = CAST(int32_t, BE32(p)); in mconvert()
1226 p->h = CAST(short, LE16(p)); in mconvert()
1233 p->l = CAST(int32_t, LE32(p)); in mconvert()
1248 p->l = CAST(int32_t, ME32(p)); in mconvert()
1257 p->l = BE32(p); in mconvert()
1262 p->l = LE32(p); in mconvert()
1271 p->q = BE64(p); in mconvert()
[all …]
/PHP-8.1/Zend/tests/
H A Dbug44660.phpt9 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 bool
57 Attempt to increment/decrement property "p" on bool
60 Attempt to modify property "p" on bool
63 Attempt to modify property "p" on bool
[all …]

Completed in 36 milliseconds

12345678910>>...32