Home
last modified time | relevance | path

Searched refs:p (Results 101 – 125 of 844) sorted by relevance

12345678910>>...34

/PHP-8.3/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.3/ext/dom/tests/
H A DDOMDocument_getElementsByTagName_liveness_xinclude.phpt12 <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>
H A Dbug80268_2.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);
/PHP-8.3/ext/mbstring/libmbfl/filters/
H A Dmbfilter_htmlent.c113 char *p; in mbfl_filt_conv_html_enc() local
115 for (p = e->name; *p != '\0'; p++) { in mbfl_filt_conv_html_enc()
129 *(--p) = '\0'; in mbfl_filt_conv_html_enc()
135 for (; *p != '\0'; p++) { in mbfl_filt_conv_html_enc()
344 unsigned char *p = *in, *e = p + *in_len; in mb_htmlent_to_wchar() local
356 if (*p == '#' && (e - p) >= 2) { in mb_htmlent_to_wchar()
402 … if (!strncmp((char*)p, entity->name, terminator - p) && strlen(entity->name) == terminator - p) { in mb_htmlent_to_wchar()
415 *out++ = *p++; in mb_htmlent_to_wchar()
418 *out++ = *p++; in mb_htmlent_to_wchar()
427 *in_len = e - p; in mb_htmlent_to_wchar()
[all …]
H A Dmbfilter_utf7.c505 unsigned char *p = *in, *e = p + *in_len; in mb_utf7_to_wchar() local
537 if (p == e) { in mb_utf7_to_wchar()
566 if (p == e) { in mb_utf7_to_wchar()
593 if (p < e) { in mb_utf7_to_wchar()
596 p++; in mb_utf7_to_wchar()
617 *in = p; in mb_utf7_to_wchar()
738 unsigned char *p = in, *e = p + in_len; in mb_check_utf7() local
742 while (p < e) { in mb_check_utf7()
767 if (p == e) { in mb_check_utf7()
796 if (p == e) { in mb_check_utf7()
[all …]
H A Dmbfilter_utf32.c259 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 …]
/PHP-8.3/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 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 …]
H A Dbug32799.phpt8 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-8.3/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()
H A Dzend_ini.c206 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-8.3/ext/fileinfo/tests/
H A Dfinfo_upstream.phpt12 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-8.3/tests/classes/
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
H A Dproperty_override_protected_private.phpt7 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.3/ext/pspell/tests/
H A D002.phpt12 $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.3/ext/random/
H A Dengine_mt19937.c100 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.3/win32/
H A Dnice.c62 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.3/ext/opcache/tests/
H A Dissue0115.phpt18 $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.3/ext/opcache/jit/dynasm/
H A Ddasm_ppc.lua318 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.3/ext/phar/tests/tar/
H A Dphar_copy.phpt19 $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.3/ext/phar/tests/zip/
H A Dphar_copy.phpt18 $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.3/ext/opcache/
H A Dzend_accelerator_util_funcs.c88 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-8.3/ext/reflection/tests/
H A Dparameters_001.phpt16 $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.3/ext/calendar/
H A Dcalendar.c378 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 …]

Completed in 94 milliseconds

12345678910>>...34