/PHP-8.0/ext/spl/tests/ |
H A D | arrayObject_exchangeArray_basic1.phpt | 7 $cowRef = $swapIn; // create a copy-on-write ref to $swapIn 10 $ao['a'] = 'adding element to $ao'; 11 $swapIn['b'] = 'adding element to $swapIn'; 12 $ao['c'] = 'adding another element to $ao'; 26 string(25) "adding element to $swapIn" 36 string(21) "adding element to $ao" 38 string(29) "adding another element to $ao"
|
/PHP-8.0/ext/standard/tests/serialize/ |
H A D | serialization_objects_005.phpt | 102 …to access a property on an incomplete object. Please ensure that the class definition "C" of the o… 104 …to modify a property on an incomplete object. Please ensure that the class definition "C" of the o… 106 …to access a property on an incomplete object. Please ensure that the class definition "C" of the o… 109 …to access a property on an incomplete object. Please ensure that the class definition "C" of the o… 111 …to modify a property on an incomplete object. Please ensure that the class definition "C" of the o… 114 …to access a property on an incomplete object. Please ensure that the class definition "C" of the o… 116 …to modify a property on an incomplete object. Please ensure that the class definition "C" of the o… 118 …to access a property on an incomplete object. Please ensure that the class definition "C" of the o… 120 …to modify a property on an incomplete object. Please ensure that the class definition "C" of the o… 122 …to access a property on an incomplete object. Please ensure that the class definition "C" of the o… [all …]
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | fpassthru_basic.phpt | 22 echo "\n-- After seeking position to 0 --\n"; 26 echo "\n-- After seeking position to 3 --\n"; 30 echo "\n-- After seeking position to 13 --\n"; 34 echo "\n-- After seeking position to 14 --\n"; 71 -- After seeking position to 0 -- 80 -- After seeking position to 3 -- 89 -- After seeking position to 13 -- 97 -- After seeking position to 14 -- 105 -- After seeking position to 23 -- 113 -- After seeking position to 34 -- [all …]
|
H A D | copy_variation13.phpt | 5 /* Test copy(): Trying to copy dir to an existing file */ 7 echo "*** Test copy() function: Trying to copy dir to file ***\n"; 14 echo "*** Testing copy() in copying dir to file ***\n"; 37 *** Test copy() function: Trying to copy dir to file *** 38 *** Testing copy() in copying dir to file *** 40 Warning: copy(): The first argument to copy() function cannot be a directory in %scopy_variation13.…
|
H A D | ftruncate_variation1-win32-mb.phpt | 42 echo "Error: failed to open file $filename!\n"; 46 rewind($file_handle); // file pointer to 0 48 /* truncate it to size 0 */ 71 -- Testing ftruncate(): truncate file to size = 0 -- 79 -- Testing ftruncate(): truncate file to size = 0 -- 87 -- Testing ftruncate(): truncate file to size = 0 -- 95 -- Testing ftruncate(): truncate file to size = 0 -- 103 -- Testing ftruncate(): truncate file to size = 0 -- 111 -- Testing ftruncate(): truncate file to size = 0 -- 119 -- Testing ftruncate(): truncate file to size = 0 -- [all …]
|
H A D | ftruncate_variation1-win32.phpt | 42 echo "Error: failed to open file $filename!\n"; 46 rewind($file_handle); // file pointer to 0 48 /* truncate it to size 0 */ 71 -- Testing ftruncate(): truncate file to size = 0 -- 79 -- Testing ftruncate(): truncate file to size = 0 -- 87 -- Testing ftruncate(): truncate file to size = 0 -- 95 -- Testing ftruncate(): truncate file to size = 0 -- 103 -- Testing ftruncate(): truncate file to size = 0 -- 111 -- Testing ftruncate(): truncate file to size = 0 -- 119 -- Testing ftruncate(): truncate file to size = 0 -- [all …]
|
H A D | ftruncate_variation1.phpt | 42 echo "Error: failed to open file $filename!\n"; 46 rewind($file_handle); // file pointer to 0 48 /* truncate it to size 0 */ 71 -- Testing ftruncate(): truncate file to size = 0 -- 79 -- Testing ftruncate(): truncate file to size = 0 -- 87 -- Testing ftruncate(): truncate file to size = 0 -- 95 -- Testing ftruncate(): truncate file to size = 0 -- 103 -- Testing ftruncate(): truncate file to size = 0 -- 111 -- Testing ftruncate(): truncate file to size = 0 -- 119 -- Testing ftruncate(): truncate file to size = 0 -- [all …]
|
H A D | file_put_contents_variation8.phpt | 43 echo "$res bytes written to: '$names_arr[$i]'\n"; 46 echo "Failed to write data to: '$names_arr[$i]'\n"; 59 9 bytes written to: '-1' 61 9 bytes written to: '1' 69 9 bytes written to: ' ' 76 Warning: file_put_contents(%sdir): Failed to open stream: %s in %s on line %d 77 Failed to write data to: '%sir' 80 Warning: file_put_contents(%sphp): Failed to open stream: %s in %s on line %d 81 Failed to write data to: '%sphp'
|
/PHP-8.0/docs/ |
H A D | streams.md | 61 * `STREAM_MUST_SEEK` - If you really need to be able to seek the stream and 62 don't need to be able to write to the original file/URL, use this option to 103 If you need to copy some data from one stream to another, you will be please to 113 number of bytes to copy. This function will try to use mmap where available to 127 is allocated using `pemalloc()`. You need to call `pefree()` to release the 131 If you have an existing stream and need to be able to `seek()` it, you can use 284 A socket based stream would use code similar to that above to create a stream to 285 be passed back to fopen_wrapper (or it's yet to be implemented successor). 324 First, you need to figure out what data you need to associate with the 332 use the abstract pointer to refer to it. [all …]
|
/PHP-8.0/Zend/tests/ |
H A D | bug54039.phpt | 8 echo "Outer function increments \$v to $v\n"; 24 echo "Outer function increments \$v to $v\n"; 34 echo "Outer function catenates 'b' onto \$v to give $v\n"; 46 Outer function increments $v to 1 48 Outer function increments $v to 2 50 Outer function increments $v to 1 52 Outer function increments $v to 2 54 Outer function catenates 'b' onto $v to give b 55 Outer function catenates 'a' onto $v to give ba 57 Outer function catenates 'b' onto $v to give bab [all …]
|
H A D | bug71841.phpt | 40 …to modify a property on an incomplete object. Please ensure that the class definition "A" of the o… 41 …to modify a property on an incomplete object. Please ensure that the class definition "A" of the o… 42 …to modify a property on an incomplete object. Please ensure that the class definition "A" of the o… 43 Cannot add element to the array as the next element is already occupied 44 Cannot add element to the array as the next element is already occupied 45 Cannot add element to the array as the next element is already occupied
|
/PHP-8.0/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_convert.c | 123 filter->to = to; in mbfl_convert_filter_common_init() 163 const mbfl_encoding *to_encoding = mbfl_no2encoding(vtbl->to); in mbfl_convert_filter_new2() 213 mbfl_convert_filter_common_init(filter, from, to, vtbl, in mbfl_convert_filter_reset() 367 if (to->no_encoding == mbfl_no_encoding_base64 || in mbfl_convert_filter_get_vtbl() 368 to->no_encoding == mbfl_no_encoding_qprint || in mbfl_convert_filter_get_vtbl() 369 to->no_encoding == mbfl_no_encoding_7bit) { in mbfl_convert_filter_get_vtbl() 374 to = &mbfl_encoding_8bit; in mbfl_convert_filter_get_vtbl() 377 if (to == from && (to == &mbfl_encoding_wchar || to == &mbfl_encoding_8bit)) { in mbfl_convert_filter_get_vtbl() 381 if (to->no_encoding == mbfl_no_encoding_wchar) { in mbfl_convert_filter_get_vtbl() 384 return to->output_filter; in mbfl_convert_filter_get_vtbl() [all …]
|
/PHP-8.0/ext/intl/transliterator/ |
H A D | transliterator_class.c | 39 Transliterator_object *to; in transliterator_object_construct() local 43 assert( to->utrans == NULL ); in transliterator_object_construct() 47 to->utrans = utrans; in transliterator_object_construct() 73 if( !to ) in transliterator_object_init() 76 intl_error_init( TRANSLITERATOR_ERROR_P( to ) ); in transliterator_object_init() 85 if( !to ) in transliterator_object_destroy() 88 if( to->utrans ) in transliterator_object_destroy() 90 utrans_close( to->utrans ); in transliterator_object_destroy() 91 to->utrans = NULL; in transliterator_object_destroy() 103 zend_object_std_dtor( &to->zo ); in Transliterator_objects_free() [all …]
|
/PHP-8.0/ext/standard/tests/array/ |
H A D | array_reduce.phpt | 9 echo "\n*** Testing array_reduce() to integer ***\n"; 14 echo "\n*** Testing array_reduce() to float ***\n"; 19 echo "\n*** Testing array_reduce() to string ***\n"; 24 echo "\n*** Testing array_reduce() to array ***\n"; 29 echo "\n*** Testing array_reduce() to null ***\n"; 37 *** Testing array_reduce() to integer *** 41 *** Testing array_reduce() to float *** 45 *** Testing array_reduce() to string *** 49 *** Testing array_reduce() to array *** 71 *** Testing array_reduce() to null ***
|
/PHP-8.0/sapi/litespeed/ |
H A D | README.md | 4 LiteSpeed Web Server. LiteSpeed SAPI has similar architecture to the FastCGI 28 You need to add `--enable-litespeed` to the configure command to build PHP with 59 have lsphp bind to port 3000 on all IPv4 and IPv6 address, 65 have lsphp bind to port 300 on all IPv4 address, 71 have lsphp bind to address 192.168.0.2:3000, 86 unless you want to change PHP interface from FastCGI to LiteSpeed SAPI or vice 91 1. Login to web administration interface, go to 'Server'->'Ext App' tab, add an 94 set to "1". Add "LSAPI_CHILDREN" environment variable to match the value of 99 'suffix' to 'php', 'Handler Type' to 'LiteSpeed API', 'Handler Name' should 145 When `LSAPI_AVOID_FORK` is set to 1, the default value is 0. [all …]
|
/PHP-8.0/ext/standard/tests/mail/ |
H A D | mail_basic7.phpt | 15 $to = 'user@example.com'; 33 var_dump(mail($to, $subject, $message, $additional_headers)); 40 $to = 'user@example.com'; 51 mail($to, $subject, $message, ['from' => array('foo2')]); 63 mail($to, $subject, $message, ['reply-to' => array('foo4')]); 69 mail($to, $subject, $message, ['to' => array('foo5')]); 87 mail($to, $subject, $message, ['in-reply-to'=> array('foo8')]); 95 $to = 'user@example.com'; 112 mail($to, $subject, $message, ['foo3' => array(123)]); 144 $to = 'user@example.com'; [all …]
|
/PHP-8.0/ext/sysvsem/tests/ |
H A D | nowait.phpt | 21 echo "P: failed to parent get semaphore.\n"; 30 echo "P: failed to child get semaphore.\n"; 37 echo "P: fail to acquire semaphore.\n"; 45 echo "P: failed to acquire semaphore.\n"; 63 /* Wait for the child semaphore to be released to 64 to release the parent semaphore */ 66 echo "P: failed to acquire semaphore.\n"; 95 // This should fail to get to the semaphore and not wait 102 echo "C: failed to acquire semaphore.\n"; 111 echo "C: fail to acquire semaphore.\n"; [all …]
|
/PHP-8.0/sapi/fpm/ |
H A D | php-fpm.service.in | 1 # It's not recommended to modify this file in-place, because it 2 # will be overwritten during upgrades. If you want to customize, 3 # the best way is to use the "systemctl edit" command. 28 # Explicit module loading will be denied. This allows to turn off module load and unload 29 # operations on modular kernels. It is recommended to turn this on for most services that 30 # do not need special file systems or extra kernel modules to work. 36 # sysctl.d(5) mechanism. Almost no services need to write to these at runtime; it is hence 37 # recommended to turn this on for most services. 42 # require write access to the control groups hierarchies; it is hence recommended to turn this on 46 # Any attempts to enable realtime scheduling in a process of the unit are refused. [all …]
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | hebrev_basic.phpt | 8 …text = "The hebrev function converts logical Hebrew text to visual text.\nThe function tries to av… 16 string(109) ".The hebrev function converts logical Hebrew text to visual text 17 .The function tries to avoid breaking words 19 string(109) "to visual text 26 tries to avoid
|
H A D | chunk_split_variation9.phpt | 6 * passing different double quoted strings for 'ending' argument to chunk_split() 7 * here 'chunklen' is set to 6.5 13 $str = "This is to test chunk_split() with various ending string"; 49 string(56) "This is to test chunk_split() with various ending string" 51 string(66) "This i s to t est ch unk_sp lit() with v arious endin g stri ng " 53 string(66) "This ias to taest chaunk_spalit() awith vaariousa endinag strianga" 59 string(66) "This i s to t est ch unk_sp lit() with v arious endin g stri ng " 62 s to t 74 s to t 86 s to t [all …]
|
/PHP-8.0/ext/soap/tests/interop/Round4/GroupH/ |
H A D | round4_groupH_complex_rpcenc.inc | 5 …return new SoapFault("Server", "Fault in response to 'echoSOAPStructFault'.", null, $input, "Compl… 9 …return new SoapFault("Server", "Fault in response to 'echoBaseStructFault'.", null, $input, "Compl… 13 …return new SoapFault("Server", "Fault in response to 'echoExtendedStructFault'.", null, $input, "C… 18 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, $s2, "ComplexF… 20 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, array("soapStr… 26 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $s2, "ComplexF… 28 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $s3, "ComplexF… 30 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $s1, "ComplexF…
|
/PHP-8.0/ext/gd/tests/ |
H A D | jpg2gd-mb.phpt | 17 echo "JPEG to GD1 conversion: "; 21 echo "JPEG to GD2 conversion: "; 25 echo "GD1 to JPEG conversion: "; 29 echo "GD2 to JPEG conversion: "; 39 JPEG to GD1 conversion: ok 40 JPEG to GD2 conversion: ok 41 GD1 to JPEG conversion: ok 42 GD2 to JPEG conversion: ok
|
H A D | jpg2gd.phpt | 17 echo "JPEG to GD1 conversion: "; 21 echo "JPEG to GD2 conversion: "; 25 echo "GD1 to JPEG conversion: "; 29 echo "GD2 to JPEG conversion: "; 39 JPEG to GD1 conversion: ok 40 JPEG to GD2 conversion: ok 41 GD1 to JPEG conversion: ok 42 GD2 to JPEG conversion: ok
|
H A D | png2gd.phpt | 17 echo "PNG to GD1 conversion: "; 21 echo "PNG to GD2 conversion: "; 25 echo "GD1 to PNG conversion: "; 29 echo "GD2 to PNG conversion: "; 39 PNG to GD1 conversion: ok 40 PNG to GD2 conversion: ok 41 GD1 to PNG conversion: ok 42 GD2 to PNG conversion: ok
|
/PHP-8.0/tests/lang/ |
H A D | 024.phpt | 540 $j should go from 3 to 4, and $q should go from 3 to 4 556 $j should go from 3 to 4, and $q should go from 3 to 4 572 $j should go from 3 to 4, and $q should go from 3 to 4 765 $j should go from 3 to 4, and $q should go from 3 to 4 781 $j should go from 3 to 4, and $q should go from 3 to 4 797 $j should go from 3 to 4, and $q should go from 3 to 4 990 $j should go from 3 to 4, and $q should go from 3 to 4 1006 $j should go from 3 to 4, and $q should go from 3 to 4 1022 $j should go from 3 to 4, and $q should go from 3 to 4 1215 $j should go from 3 to 4, and $q should go from 3 to 4 [all …]
|