/PHP-8.1/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-8.1/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.1/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.1/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.1/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.1/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 …]
|
H A D | dasm_x86.h | 191 int action = *p++; in dasm_put() 211 if (*p < 0x40 && p[1] == DASM_DISP) mrm = n; in dasm_put() 316 int action = *p++; in dasm_link() 318 case DASM_REL_LG: p++; in dasm_link() 411 int action = *p++; in dasm_encode() 416 if (*p != DASM_IMM_DB && *p != DASM_IMM_WB) mark = NULL; in dasm_encode() 432 int t = *p++; in dasm_encode() 466 p++; in dasm_encode() 475 int idx = *p++; in dasm_encode() 483 n = *p++; in dasm_encode() [all …]
|
/PHP-8.1/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);
|
H A D | phar_commitwrite.phpt | 10 $p = new Phar(__DIR__ . '/phar_commitwrite.phar.tar', 0, 'phar_commitwrite.phar'); 11 $p['file1.txt'] = 'hi'; 12 $p->stopBuffering(); 13 var_dump($p->getStub()); 14 $p->setStub("<?php 22 var_dump($p->getStub()); 23 var_dump($p->isFileFormat(Phar::TAR));
|
/PHP-8.1/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);
|
H A D | phar_commitwrite.phpt | 10 $p = new Phar(__DIR__ . '/phar_commitwrite.phar.zip', 0, 'phar_commitwrite.phar'); 11 $p['file1.txt'] = 'hi'; 12 $p->stopBuffering(); 13 var_dump($p->getStub()); 14 $p->setStub("<?php 22 var_dump($p->getStub()); 23 var_dump($p->isFileFormat(Phar::ZIP));
|
/PHP-8.1/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.1/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.1/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.1/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.1/ext/opcache/ |
H A D | zend_persist_calc.c | 115 Bucket *p; in zend_persist_zval_calc() local 120 if (p->key) { in zend_persist_zval_calc() 214 Bucket *p; in zend_persist_op_array_calc_ex() local 231 while (p < end) { in zend_persist_op_array_calc_ex() 232 zend_persist_zval_calc(p); in zend_persist_op_array_calc_ex() 233 p++; in zend_persist_op_array_calc_ex() 391 Bucket *p; in zend_persist_class_entry_calc() local 537 Bucket *p; in zend_persist_class_entry_calc() local 541 if (p->key != NULL) { in zend_persist_class_entry_calc() 552 Bucket *p; in zend_accel_persist_class_table_calc() local [all …]
|
/PHP-8.1/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.1/ext/calendar/ |
H A D | calendar.c | 400 p++; in heb_number_to_chars() 404 p++; in heb_number_to_chars() 419 p++; in heb_number_to_chars() 426 p++; in heb_number_to_chars() 433 p++; in heb_number_to_chars() 435 p++; in heb_number_to_chars() 440 p++; in heb_number_to_chars() 447 p++; in heb_number_to_chars() 457 p++; in heb_number_to_chars() 460 *(p) = *(p - 1); in heb_number_to_chars() [all …]
|
/PHP-8.1/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]);
|
/PHP-8.1/Zend/ |
H A D | zend_objects.c | 48 zval *p, *end; in zend_object_std_dtor() local 58 p = object->properties_table; in zend_object_std_dtor() 62 if (Z_REFCOUNTED_P(p)) { in zend_object_std_dtor() 70 i_zval_ptr_dtor(p); in zend_object_std_dtor() 72 p++; in zend_object_std_dtor() 73 } while (p != end); in zend_object_std_dtor() 78 zval_ptr_dtor_str(p); in zend_object_std_dtor() 82 guards = Z_ARRVAL_P(p); in zend_object_std_dtor() 276 ZVAL_UNDEF(p); in zend_objects_clone_obj() 277 p++; in zend_objects_clone_obj() [all …]
|
/PHP-8.1/Zend/tests/type_declarations/ |
H A D | typed_properties_083.phpt | 7 public ?string $p; 19 $a->p[] = "test"; 22 var_dump($a->p); // WRONG! 25 $a->p = null; 27 $a->p[] = "test"; 29 var_dump($a->p); 46 $ref = &$a->p; 63 string(71) "Cannot auto-initialize an array inside property Foo::$p of type ?string" 64 string(65) "Typed property Foo::$p must not be accessed before initialization" 65 string(71) "Cannot auto-initialize an array inside property Foo::$p of type ?string" [all …]
|
/PHP-8.1/ext/mysqli/ |
H A D | mysqli_prop.c | 39 MYSQL *p; \ 51 MYSQL_RES *p; \ 63 MYSQL_STMT *p; \ 79 ZEND_ASSERT(p);\ 94 ZEND_ASSERT(p);\ 106 ZEND_ASSERT(p);\ 260 MYSQL_RES *p; in MYSQLI_MAP_PROPERTY_FUNC_LONG() local 275 MYSQL_RES *p; in result_lengths_read() local 286 if (!p || !field_count || !(ret = mysql_fetch_lengths(p))) { in result_lengths_read() 311 MY_STMT *p; in MYSQLI_MAP_PROPERTY_FUNC_LONG() local [all …]
|