/php-src/ext/phar/tests/cache_list/files/ |
H A D | write10.phar | 2 $p = new Phar(__FILE__); 3 var_dump($p->getStub()); 6 $p->setStub($a);
|
H A D | write8.phar.inc | 8 $p = new Phar(__FILE__); 9 var_dump($p->getAlias()); 11 $p->setAlias("hi");
|
H A D | write11.phar.inc | 8 $p = new Phar(__FILE__); 9 var_dump($p->getStub()); 11 $p->setDefaultStub();
|
H A D | write9.phar.inc | 8 $p = new Phar(__FILE__); 9 var_dump($p->getStub()); 11 $p->setStub("<?php __HALT"."_COMPILER();");
|
H A D | write24.phar.inc | 8 $p = new Phar(__FILE__); 9 var_dump(isset($p["newname"])); 13 var_dump(isset($p["newname"]));
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_query_stored_proc.phpt | 19 if (!mysqli_query($link, 'DROP PROCEDURE IF EXISTS p')) 25 if (mysqli_multi_query($link, 'CALL p()')) { 38 if (mysqli_multi_query($link, 'CALL p()')) { 51 if (mysqli_multi_query($link, 'CALL p()')) { 70 if (!mysqli_query($link, 'DROP PROCEDURE IF EXISTS p')) 76 if (mysqli_multi_query($link, 'CALL p()')) { 93 if (!mysqli_query($link, 'DROP PROCEDURE IF EXISTS p')) 98 if (!mysqli_query($link, 'CALL p(@version)')) 104 if (!mysqli_query($link, 'CALL p(@version)')) 120 if (!mysqli_query($link, 'DROP PROCEDURE IF EXISTS p')) [all …]
|
/php-src/ext/standard/tests/array/ |
H A D | array_chunk_variation23.phpt | 5 $array = array ("p" => 1, "q" => 2, "r" => 3, "s" => 4, "u" => 5, "v" => 6); 17 ["p"]=> 66 ["p"]=> 155 ["p"]=> 223 ["p"]=> 285 ["p"]=> 347 ["p"]=> 406 ["p"]=>
|
/php-src/Zend/tests/multibyte/ |
H A D | multibyte_encoding_003.phpt | 9 ��<?php 10 print "Hello World\n";
|
/php-src/ext/opcache/ |
H A D | zend_persist.c | 97 Bucket *p; in zend_hash_persist() local 239 Bucket *p; in zend_persist_zval() local 493 Bucket *p; in zend_persist_op_array_ex() local 508 zval *p, *end; in zend_persist_op_array_ex() local 520 p++; in zend_persist_op_array_ex() 889 Bucket *p; in zend_persist_class_entry() local 930 Z_PTR(p->val) = zend_persist_class_method(Z_PTR(p->val), ce); in zend_persist_class_entry() 1117 if (p) { in zend_update_parent_ce() 1263 Bucket *p; in zend_accel_persist_class_table() local 1274 Z_CE(p->val) = zend_persist_class_entry(Z_CE(p->val)); in zend_accel_persist_class_table() [all …]
|
/php-src/ext/openssl/tests/ |
H A D | bug72336.phpt | 7 $p = '00f8000ae45b2dacb47dd977d58b719d097bdf07cb2c17660ad898518c08' . 21 var_dump(openssl_pkey_new(array('dsa' => array('p' => $p, 'q' => $q, 'g' => $g))));
|
H A D | openssl_pkey_new_basic.phpt | 43 'p' => hex2bin($phex), 55 openssl_pkey_test_cmp($phex, $rsa_details['p']); 78 'p' => hex2bin($phex), 85 openssl_pkey_test_cmp($phex, $dsa_details['p']); 97 $dh_details = array('p' => $phex, 'g' => '2'); 99 'dh'=> array('p' => hex2bin($phex), 'g' => '2')) 103 openssl_pkey_test_cmp($phex, $dh_details['p']);
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_unix.c | 152 char *p; in fpm_unix_resolve_socket_permissions() local 154 for (p=strchr(c->listen_acl_users, ',') ; p ; p=strchr(p+1, ',')) { in fpm_unix_resolve_socket_permissions() 159 char *p; in fpm_unix_resolve_socket_permissions() local 161 for (p=strchr(c->listen_acl_groups, ',') ; p ; p=strchr(p+1, ',')) { in fpm_unix_resolve_socket_permissions() 170 char *tmp, *p, *end; in fpm_unix_resolve_socket_permissions() local 182 for (p=tmp ; p ; p=end) { in fpm_unix_resolve_socket_permissions() 183 if ((end = strchr(p, ','))) { in fpm_unix_resolve_socket_permissions() 186 pwd = fpm_unix_get_passwd(wp, p, ZLOG_SYSERROR); in fpm_unix_resolve_socket_permissions() 214 for (p=tmp ; p ; p=end) { in fpm_unix_resolve_socket_permissions() 215 if ((end = strchr(p, ','))) { in fpm_unix_resolve_socket_permissions() [all …]
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_check.c | 45 ir_ref n, j, *p; in ir_check_use_list() local 49 for (j = 0, p = &ctx->use_edges[use_list->refs]; j < n; j++, p++) { in ir_check_use_list() 50 if (*p == to) { in ir_check_use_list() 60 ir_ref n, j, *p; in ir_check_input_list() local 63 for (j = 1, p = insn->ops + 1; j <= n; j++, p++) { in ir_check_input_list() 64 if (*p == from) { in ir_check_input_list() 91 ir_ref i, j, n, *p, use; in ir_check() local 105 for (j = 1, p = insn->ops + 1; j <= n; j++, p++) { in ir_check() 106 use = *p; in ir_check() 301 use = *p; in ir_check() [all …]
|
/php-src/sapi/cli/ |
H A D | php_cli_server.c | 440 p++; in add_response_header() 441 } while (*p == ' ' || *p == '\t'); in add_response_header() 1293 for (p = sal; *p; p++) { in php_network_listen_socket() 1467 q = p; in php_cli_server_request_translate_vpath() 1568 if (p < decoded_vpath_end && *p == '/') { in normalize_vpath() 1578 if (n - p == 2 && p[0] == '.' && p[1] == '.') { in normalize_vpath() 1597 } else if (n - p == 1 && p[0] == '.') { in normalize_vpath() 1804 --p; in php_cli_server_client_read_request_on_message_complete() 2429 port = strtol(p + 1, (char**)&p, 10); in php_cli_server_parse_addr() 2430 if (p && *p) { in php_cli_server_parse_addr() [all …]
|
/php-src/ext/phar/tests/tar/ |
H A D | links3.phpt | 10 $p = new PharData(__DIR__ . '/files/biglink.tar'); 14 echo $p['file.txt']->getContent(); 15 echo $p['my/file']->getContent();
|
H A D | links4.phpt | 10 $p = new PharData(__DIR__ . '/files/tinylink.tar'); 14 echo $p['file.txt']->getContent(); 15 echo $p['link.txt']->getContent();
|
H A D | links5.phpt | 10 $p = new PharData(__DIR__ . '/files/subdirlink.tar'); 14 echo $p['hi/test.txt']->getContent(); 15 echo $p['hi/link.txt']->getContent();
|
/php-src/ext/standard/tests/general_functions/ |
H A D | gh10239_1.phpt | 10 $p = proc_open('sleep 1', array(), $foo); 13 $s = proc_get_status($p); 15 echo proc_close($p), PHP_EOL;
|
/php-src/Zend/tests/attributes/override/ |
H A D | 010.phpt | 7 private function p(): void {} 12 public function p(): void {} 19 Fatal error: C::p() has #[\Override] attribute, but no matching parent method exists in %s on line …
|
H A D | 011.phpt | 7 private function p(): void {} 12 private function p(): void {} 19 Fatal error: C::p() has #[\Override] attribute, but no matching parent method exists in %s on line …
|
/php-src/ext/dom/tests/modern/html/parser/ |
H A D | HTMLDocument_fromFile_with_working_stream_wrapper.phpt | 37 $dom = Dom\HTMLDocument::createFromFile("euw://<p>hello</p>"); 55 …reateFromFile(): tree error unexpected-token-in-initial-mode in euw://<p>hello</p>, line: 1, colum… 56 <html><head></head><body><p>hello</p></body></html>
|
/php-src/ext/phar/ |
H A D | phar_path_check.re | 23 const unsigned char *p = (const unsigned char*)*s; 26 if (*len == 1 && *p == '.') { 29 } else if (*len == 2 && p[0] == '.' && p[1] == '.') { 35 #define YYCURSOR p 36 #define YYLIMIT p+*len 84 *len = (p - (const unsigned char*)*s) -1; 96 if ((p - (const unsigned char*)*s) - 1 != *len)
|
/php-src/sapi/fuzzer/ |
H A D | fuzzer-sapi.c | 147 char *p = malloc(ini_len + 1); in fuzzer_init_php() local 148 fuzzer_module.ini_entries = p; in fuzzer_init_php() 149 p = zend_mempcpy(p, HARDCODED_INI, sizeof(HARDCODED_INI) - 1); in fuzzer_init_php() 151 *p++ = '\n'; in fuzzer_init_php() 152 p = zend_mempcpy(p, extra_ini, extra_ini_len); in fuzzer_init_php() 154 *p = '\0'; in fuzzer_init_php()
|
/php-src/ext/standard/tests/serialize/ |
H A D | bug72785.phpt | 9 $p = 'x:i:0;a:1:{i:0;O:1:"A":0:{}};m:a:0:{}'; 10 $s = 'C:11:"ArrayObject":' . strlen($p) . ':{' . $p . '}';
|
/php-src/ext/standard/ |
H A D | assert.c | 82 bool *p = (bool *) ZEND_INI_GET_ADDR(); in PHP_INI_MH() local 83 *p = zend_ini_parse_bool(new_value); in PHP_INI_MH() 84 if (php_must_emit_ini_deprecation(stage) && !*p) { in PHP_INI_MH() 92 bool *p = (bool *) ZEND_INI_GET_ADDR(); in PHP_INI_MH() local 93 *p = zend_ini_parse_bool(new_value); in PHP_INI_MH() 94 if (php_must_emit_ini_deprecation(stage) && *p) { in PHP_INI_MH() 102 bool *p = (bool *) ZEND_INI_GET_ADDR(); in PHP_INI_MH() local 103 *p = zend_ini_parse_bool(new_value); in PHP_INI_MH() 104 if (php_must_emit_ini_deprecation(stage) && !*p) { in PHP_INI_MH() 113 bool *p = (bool *) ZEND_INI_GET_ADDR(); in PHP_INI_MH() local [all …]
|