/php-src/ext/phar/tests/zip/ |
H A D | phar_magic.phpt | 12 $p = new Phar($fname); 13 var_dump($p->isFileFormat(Phar::ZIP)); 14 $p['a'] = '<?php include "b/c.php";' . "\n"; 15 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("a", "r", true);echo stream_get_contents($a);fclose… 16 $p['d'] = "in d\n"; 17 $p->setStub('<?php
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_alloc.h | 46 #define mnd_pecalloc(nmemb, size, p) mysqlnd_allocator.m_pecalloc((nmemb), (size), (p) MYSQLND_MEM_… argument 48 #define mnd_perealloc(ptr, new_size, p) mysqlnd_allocator.m_perealloc((ptr), (new_size), (p) MYSQLN… argument 54 #define mnd_sprintf(p, mx_len, fmt,...) spprintf((p), (mx_len), (fmt), __VA_ARGS__) argument 55 #define mnd_vsprintf(p, mx_len, fmt,ap) vspprintf((p), (mx_len), (fmt), (ap)) argument 56 #define mnd_sprintf_free(p) efree((p)) argument
|
H A D | mysqlnd_ps_codec.c | 630 *p+= 2; in mysqlnd_stmt_execute_store_types() 748 (*p) += 8; in mysqlnd_stmt_execute_store_param_values() 756 (*p) += 8; in mysqlnd_stmt_execute_store_param_values() 764 (*p) += 4; in mysqlnd_stmt_execute_store_param_values() 771 (*p)++; in mysqlnd_stmt_execute_store_param_values() 778 *p = php_mysqlnd_net_store_length(*p, 0); in mysqlnd_stmt_execute_store_param_values() 786 *p = php_mysqlnd_net_store_length(*p, len); in mysqlnd_stmt_execute_store_param_values() 841 (*p)++; in mysqlnd_stmt_execute_store_params() 891 p += 4; in mysqlnd_stmt_execute_generate_request() 895 p++; in mysqlnd_stmt_execute_generate_request() [all …]
|
/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_singlebyte.c | 104 unsigned char *p = *in, *e = p + *in_len; \ 111 *in = p; \ 161 unsigned char *p = *in, *e = p + *in_len; in mb_ascii_to_wchar() local 170 *in = p; in mb_ascii_to_wchar() 215 unsigned char *p = *in, *e = p + *in_len; in mb_8859_1_to_wchar() local 219 *out++ = *p++; in mb_8859_1_to_wchar() 223 *in = p; in mb_8859_1_to_wchar() 531 unsigned char *p = *in, *e = p + *in_len; in mb_cp1252_to_wchar() local 545 *in = p; in mb_cp1252_to_wchar() 732 unsigned char *p = *in, *e = p + *in_len; in mb_armscii8_to_wchar() local [all …]
|
H A D | mbfilter_utf16.c | 502 *in = p; in mb_utf16_to_wchar() 508 *in = p; in mb_utf16_to_wchar() 520 unsigned char *p = *in, *e = p + (*in_len & ~1); in mb_utf16be_to_wchar_default() local 540 p -= 2; in mb_utf16be_to_wchar_default() 562 p++; in mb_utf16be_to_wchar_default() 566 *in = p; in mb_utf16be_to_wchar_default() 598 unsigned char *p = *in, *e = p + (*in_len & ~1); in mb_utf16le_to_wchar_default() local 640 p++; in mb_utf16le_to_wchar_default() 644 *in = p; in mb_utf16le_to_wchar_default() 789 *in = p; in mb_utf16be_to_wchar_avx2() [all …]
|
/php-src/ext/pcre/tests/ |
H A D | backtrack_limit.phpt | 5 if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) { 6 die("skip no support for \p support PCRE library"); 15 var_dump(preg_match_all('/.*\p{N}/', '0123456789', $dummy)); 18 var_dump(preg_match_all('/\p{Nd}/', '0123456789', $dummy));
|
H A D | errors04.phpt | 5 if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) { 6 die("skip no support for \p support PCRE library"); 15 var_dump(preg_match_all('/.*\p{N}/', '0123456789', $dummy)); 18 var_dump(preg_match_all('/\p{Nd}/', '0123456789', $dummy));
|
/php-src/ext/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_escape_nbsp.phpt | 8 …m = Dom\HTMLDocument::createFromString("<p>these must transform: \xc2\xa0\xc2\xa0 but these not: \… 13 <html><head></head><body><p>these must transform: but these not: �|�...</p><br></body>…
|
/php-src/ext/dom/lexbor/lexbor/css/syntax/ |
H A D | tokenizer.c | 446 p = tkz->in_begin; in lxb_css_syntax_tokenizer_lookup_colon() 450 if (p >= end) { in lxb_css_syntax_tokenizer_lookup_colon() 466 switch (*p) { in lxb_css_syntax_tokenizer_lookup_colon() 475 p++; in lxb_css_syntax_tokenizer_lookup_colon() 495 p = tkz->in_begin; in lxb_css_syntax_tokenizer_lookup_important() 551 if (p >= end) { in lxb_css_syntax_tokenizer_lookup_important_ch() 580 switch (*p) { in lxb_css_syntax_tokenizer_lookup_important_end() 589 p++; in lxb_css_syntax_tokenizer_lookup_important_end() 677 p = tkz->in_begin; in lxb_css_syntax_tokenizer_lookup_declaration_ws_end() 686 switch (*p) { in lxb_css_syntax_tokenizer_lookup_declaration_ws_end() [all …]
|
/php-src/ext/filter/tests/ |
H A D | 026.phpt | 8 var_dump(filter_var("<p>Let me <font color=\"#000000\">see</font> you <br /><b>Stripped</b> down to… 9 var_dump(filter_var("!@#$%^&*()><<>+_\"'<br><p /><li />", FILTER_SANITIZE_STRIPPED)); 12 var_dump(filter_var("<p>Let me <font color=\"#000000\">see</font> you <br /><b>Stripped</b> down to… 13 var_dump(filter_var("!@#$%^&*()><<>+_\"'<br><p /><li />", FILTER_SANITIZE_STRIPPED, FILTER_FLAG_STR… 16 var_dump(filter_var("<p>Let me <font color=\"#000000\">see</font> you <br /><b>Stripped</b> down to… 17 var_dump(filter_var("!@#$%^&*()><<>+_\"'<br><p /><li />", FILTER_SANITIZE_STRIPPED, FILTER_FLAG_STR…
|
/php-src/ext/gd/libgd/ |
H A D | gd_webp.c | 47 uint8_t *p; in gdImageCreateFromWebpCtx() local 88 for (y = 0, p = argb; y < height; y++) { in gdImageCreateFromWebpCtx() 91 register uint8_t r = *(p++); in gdImageCreateFromWebpCtx() 92 register uint8_t g = *(p++); in gdImageCreateFromWebpCtx() 93 register uint8_t b = *(p++); in gdImageCreateFromWebpCtx() 108 uint8_t *p; in gdImageWebpCtx() local 137 p = argb; in gdImageWebpCtx() 149 *(p++) = gdTrueColorGetRed(c); in gdImageWebpCtx() 150 *(p++) = gdTrueColorGetGreen(c); in gdImageWebpCtx() 151 *(p++) = gdTrueColorGetBlue(c); in gdImageWebpCtx() [all …]
|
/php-src/ext/phar/tests/ |
H A D | phar_magic.phpt | 11 $p = new Phar($fname); 12 $p['a'] = '<?php include "b/c.php";' . "\n"; 13 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("a", "r", true);echo stream_get_contents($a);fclose… 14 $p['d'] = "in d\n"; 15 $p->setStub('<?php
|
H A D | phar_create_in_cwd.phpt | 12 $p = new Phar('phar_create_in_cwd.phar'); 13 $p['file1.txt'] = 'hi'; 14 var_dump(strlen($p->getStub())); 15 $p->setStub("<?php 23 var_dump($p->getStub());
|
/php-src/ext/reflection/tests/ |
H A D | bug62715.phpt | 9 foreach ($r->getParameters() as $p) { 10 var_dump($p->isDefaultValueAvailable()); 13 foreach ($r->getParameters() as $p) { 14 if ($p->isDefaultValueAvailable()) { 15 var_dump($p->getDefaultValue());
|
/php-src/ext/ffi/tests/ |
H A D | 035.phpt | 9 $p = FFI::cdef()->new("uint16_t[2]", false); 10 var_dump($p); 12 FFI::free($p); 14 var_dump($p);
|
/php-src/ext/standard/tests/general_functions/ |
H A D | proc_nice_basic-win.phpt | 32 $p = popen('wmic process where name="' . $bin . '"', 'r'); 34 if (!$p) { 38 while(!feof($p)) { 39 $t .= fread($p, 1024); 42 pclose($p); 71 $p = [ 81 foreach ($p as $test => $data) {
|
/php-src/win32/ |
H A D | syslog.h | 33 #define LOG_PRI(p) ((p) & LOG_PRIMASK) argument 50 #define LOG_FAC(p) (((p) & LOG_FACMASK) >> 3) argument
|
/php-src/ext/dom/tests/ |
H A D | DOMDocument_loadHTML_basic.phpt | 11 $doc->loadHTML("<html><body><p>Test<br></p></body></html>"); 16 <html><body><p>Test<br></p></body></html>
|
H A D | bug79451.phpt | 8 $dom->loadHTML("<!DOCTYPE html><p>hello</p>"); 20 <html><body><p>hello</p></body></html>
|
H A D | bug47530.phpt | 38 <p>Test-Text</p> 58 <p>Test-Text</p> 59 <example:p>More test text</example:p> 60 <test:p>Even more test text</test:p> 82 …iv xmlns="https://php.net/default" xmlns:example="https://php.net/example"><p example:test="test"/… 131 <default:p>Test-Text</default:p> 138 <p>Test-Text</p> 139 <example:p>More test text</example:p> 140 <test:p>Even more test text</test:p> 145 <div xmlns:example="https://php.net/somethingelse"><p xmlns="https://php.net/default" xmlns:example… [all …]
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | bug47530.phpt | 38 <p>Test-Text</p> 57 <p>Test-Text</p> 58 <example:p>More test text</example:p> 59 <test:p>Even more test text</test:p> 78 …iv xmlns="https://php.net/default" xmlns:example="https://php.net/example"><p example:test="test"/… 127 <p>Test-Text</p> 134 <p>Test-Text</p> 135 <example:p>More test text</example:p> 136 <test:p>Even more test text</test:p> 141 <div xmlns:example="https://php.net/somethingelse"><p xmlns="https://php.net/default" xmlns:example… [all …]
|
/php-src/ext/opcache/ |
H A D | shared_alloc_win32.c | 75 char *p = newname; in create_name_with_username() local 76 p += strlcpy(newname, name, MAXPATHLEN + 1); in create_name_with_username() 77 *(p++) = '@'; in create_name_with_username() 78 p = zend_mempcpy(p, accel_uname_id, 32); in create_name_with_username() 79 *(p++) = '@'; in create_name_with_username() 80 p += strlcpy(p, sapi_module.name, 21); in create_name_with_username() 81 *(p++) = '@'; in create_name_with_username() 82 p = zend_mempcpy(p, zend_system_id, 32); in create_name_with_username() 83 *(p++) = '\0'; in create_name_with_username() 84 ZEND_ASSERT(p - newname <= sizeof(newname)); in create_name_with_username() [all …]
|
/php-src/ext/spl/tests/ |
H A D | arrayObject___construct_basic6.phpt | 11 $ao->p = 1; 15 $ao->p = 1; 25 Deprecated: Creation of dynamic property ArrayObject::$p is deprecated in %s on line %d 27 ["p"]=> 40 Deprecated: Creation of dynamic property ArrayObject::$p is deprecated in %s on line %d 42 ["p"]=>
|
/php-src/ext/standard/tests/file/ |
H A D | bug39538.phpt | 8 $line = "\"\nthis is a test\", \"next data\", \"p\narsed\""; 12 "p\narsed", 21 $line = "\"\r\nthis is a test\", \"next data\", \"p\r\narsed\""; 25 "p\r\narsed", 34 $line = "\"\n\rthis is a test\", \"next data\", \"p\n\rarsed\""; 38 "p\n\rarsed",
|
/php-src/ext/fileinfo/tests/upstream/ |
H A D | matilde.arm.testfile | 9 !�:���=K����[��<Ɖ�lH��!L��-��I��w�9:y��<�U'�ԫ�Lc�\vyY>�Ԫ�ϧ�4p<&@i�~#�������)J$�� 12 ـ�M���,ˬ3aѾLb< 5]B� p���:Յ��0(ʵ5L�9�<ey�=)��y@z8F�X '��8 15 …<i����,J�?A�;�8�y����f��"<,�����#����c`<����'g��H咮�<^��_i�Z�A�}��9Ա�����x�p�<(~{��D 18 …�yGPL�Z4�����v��w����+��@<ں}�r4;@:�h%��@�)���W���b@<<�h5N�C�R��p.�O#�*��1�e3�<\$�… 51 ,�Ӆ�� ��?2����G��*Zs30<�;�Q.�����Z��v$�T�쀳�9����<�P|���a�z8��Fa_�^�IH$p("p<x�y�� p�rA�… 56 �b�k�I������`���TDw�<�p��e>������ 57 ��豼{��`�s�2c�<sv�`���5$㢥�d��p����`1�_i�<�u5�~D��ׯM-�➩S#m�m�jl�g?`<im0a(��k���1����2Q3����… 65 …,���Wi��k��<�9�����(�, Y��Sʶ�n��0�!p<���i��A������X���<�,�Ԇ�<��������3� �p����ϴu��… 77 �k�_�<�mfq��KL��E�3���+��3ޓ��p<Hhx7l������?\i"�@�<��}iP<Ez5xs�A��S�(2X��Re��Q�� 81 …+��߰FE�wp_ϡ�q H�<����Z)c�F9%����KIa�O���p���< ˹�G���Cy��g�0;e�8@�Ͳ��<���d��,B���… [all …]
|