/PHP-7.4/ext/standard/tests/streams/ |
H A D | stream_multi_filters_close.phpt | 44 $r = fopen("php://stdout", "w+"); 47 $first = stream_filter_prepend($r, "first", STREAM_FILTER_WRITE, []); 48 $second = stream_filter_prepend($r, "second", STREAM_FILTER_WRITE, []); 49 fwrite($r, "test\n");
|
H A D | user-stream-error.phpt | 12 fopen('mystream://foo', 'r'); 17 #0 [internal function]: FailStream->stream_open('mystream://foo', 'r', 0, NULL) 18 #1 %s%euser-stream-error.php(%d): fopen('mystream://foo', 'r')
|
/PHP-7.4/ext/zlib/tests/ |
H A D | zlib_wrapper_meta_data_basic.phpt | 13 $h = gzopen($f,'r'); 18 $h = fopen($f,'r'); 37 string(1) "r" 57 string(1) "r"
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | stream_supports_lock.phpt | 7 $fp = fopen(__FILE__, "r"); 12 $fp = fopen("file://" . __FILE__, "r"); 17 $fp = fopen("php://memory", "r"); 22 $fp = fopen('data://text/plain,foobar', 'r');
|
H A D | 007_variation1.phpt | 2 Test fopen and fclose() functions - usage variations - "r" mode 17 /* Test fopen() and fclose(): Opening the file in "r" mode, 29 echo "*** Test fopen() & fclose() functions: with 'r' mode ***\n"; 30 $file_handle = fopen($file, "r"); //opening the file in "r" mode 44 *** Test fopen() & fclose() functions: with 'r' mode ***
|
H A D | bug60120.phpt | 19 $cmd = 'php -r "fwrite(STDOUT, $in = file_get_contents(\'php://stdin\')); fwrite(STDERR, $in);"'; 20 $descriptors = array(array('pipe', 'r'), array('pipe', 'w'), array('pipe', 'w')); 36 $r = $pipes; 39 $n = stream_select($r, $w, $e, 60); 58 foreach ($r as $pipe) {
|
H A D | fgetcsv_variation21.phpt | 20 $file_modes = array ("r","rb", "rt", "r+", "r+b", "r+t", 28 if ( strstr($file_modes[$mode_counter], "r") ) { 42 if ( strstr($file_modes[$mode_counter], "r" ) ) { 72 -- Testing fgetcsv() with file opened using r mode -- 96 -- Testing fgetcsv() with file opened using r+ mode -- 104 -- Testing fgetcsv() with file opened using r+b mode -- 112 -- Testing fgetcsv() with file opened using r+t mode --
|
H A D | fputcsv_variation10.phpt | 28 $file_modes = array ("r+", "r+b", "r+t", 39 if ( strstr($file_modes[$mode_counter], "r") ) { 72 -- file opened in r+ -- 79 -- file opened in r+b -- 86 -- file opened in r+t -- 156 -- file opened in r+ -- 164 -- file opened in r+b -- 172 -- file opened in r+t -- 252 -- file opened in r+ -- 259 -- file opened in r+b -- [all …]
|
H A D | fputcsv_variation5.phpt | 33 $file_modes = array ("r+", "r+b", "r+t", 78 -- file opened in r+ -- 85 -- file opened in r+b -- 92 -- file opened in r+t -- 162 -- file opened in r+ -- 169 -- file opened in r+b -- 176 -- file opened in r+t -- 246 -- file opened in r+ -- 330 -- file opened in r+ -- 414 -- file opened in r+ -- [all …]
|
H A D | fputcsv_variation6.phpt | 36 $file_modes = array ("r+", "r+b", "r+t", 81 -- file opened in r+ -- 88 -- file opened in r+b -- 95 -- file opened in r+t -- 165 -- file opened in r+ -- 172 -- file opened in r+b -- 179 -- file opened in r+t -- 249 -- file opened in r+ -- 333 -- file opened in r+ -- 417 -- file opened in r+ -- [all …]
|
/PHP-7.4/ext/standard/tests/serialize/ |
H A D | bug65481.phpt | 28 $r = unserialize($str); 29 $r = unserialize($r[0]);
|
/PHP-7.4/ext/reflection/tests/ |
H A D | parameters_002.phpt | 19 function check_params_decl_func($r, $f) 21 $c = $r->$f(); 26 function check_params_decl_class($r, $f) 28 $c = $r->$f(); 32 function check_params_func($r, $f) 35 $v = $r->$f(); 39 function check_params($r) 41 echo "#####" . ($r instanceof ReflectionMethod ? $r->class . '::' : '') . $r->name . "()#####\n"; 43 foreach($r->getParameters() as $p)
|
H A D | request38992.phpt | 13 $r = new ReflectionMethod('MyClass', 'doSomething'); 14 $r->invoke('WTF?'); 15 $r->invokeArgs('WTF?', array());
|
/PHP-7.4/ext/oci8/tests/ |
H A D | conn_attr.inc | 32 $r = @oci_execute($s); 33 if (!$r) { 91 $r = oci_set_module_name($conn,'PHP TEST'.$sufix); 93 $r = oci_set_action($conn,'TASK'.$sufix); 95 $r = oci_set_client_info($conn,'INFO1'.$sufix); 97 $r = oci_set_client_identifier($conn,'ID00'.$sufix); 100 if ($r) { 106 return $r; 111 $r = oci_set_edition($value); 112 if ($r) { [all …]
|
H A D | lob_null.phpt | 42 $r = @oci_execute($s); 43 if (!$r) { 56 $r = @oci_execute($s); 57 if (!$r) { 70 $r = @oci_execute($s); 71 if (!$r) { 86 $r = @oci_execute($s); 87 if (!$r) { 100 $r = @oci_execute($s); 101 if (!$r) { [all …]
|
H A D | bind_misccoltypes_errs.phpt | 42 oci_fetch_all($s, $r); 43 var_dump($r); 142 … oci_execute(): ORA-12899: %r(%s "%s"."BIND_MISCCOLTYPES_ERRS_TAB"."CHAR_T" \(%s: 2, %s: 1\)|Strin… 146 …ci_execute(): ORA-12899: %r(%s "%s"."BIND_MISCCOLTYPES_ERRS_TAB"."VARCHAR2_T10" \(%s: 11, %s: 10\)… 154 …_execute(): ORA-12899: %r(%s "%s"."BIND_MISCCOLTYPES_ERRS_TAB"."VARCHAR2_T10" \(%s: 12, %s: 10\)|S… 163 …_execute(): ORA-12899: %r(%s "%s"."BIND_MISCCOLTYPES_ERRS_TAB"."VARCHAR2_T10" \(%s: 12, %s: 10\)|S…
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | nl2br_variation1.phpt | 21 "\rHello\rWorld\r", 22 "Hello\r\nWorld", 23 "\r\nHello\r\nWorld\r\n",
|
H A D | chunk_split_variation8.phpt | 26 It has _speci@l ch@r$ 2222 !!!Now \k as escape char to test 61 string(504) "T:::h:::i:::s:::':::s::: :::h:::e:::r:::e:::d:::o:::c::: :::s:::t:::r:::i:::n:::g::: :… 62 ::: :::w:::h:::i:::t:::e::: :::s:::p:::a:::c:::e::: :::c:::h:::a:::r:::.::: 63 …::c:::h:::@:::r:::$::: :::2:::2:::2:::2::: :::!:::!:::!:::N:::o:::w::: :::\:::k::: :::a:::s::: :::… 72 It has _speci@l ch@r$ 2222 !!!Now \k as escape char to test 77 It has _speci@l ch@r$ 222:::2 !!!Now \k as escape char::: to test 82 It has _speci@l ch@r$ 2222 !!!Now \k as escape char to test
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | bug74021.phpt | 19 $r = $res->fetch_array(); 20 var_dump(md5($r['a'])); 21 var_dump(md5($r['b']));
|
/PHP-7.4/Zend/tests/ |
H A D | cast_to_bool.phpt | 6 $r = fopen(__FILE__, "r"); 28 $r,
|
H A D | cast_to_int.phpt | 6 $r = fopen(__FILE__, "r"); 28 $r,
|
H A D | settype_bool.phpt | 6 $r = fopen(__FILE__, "r"); 28 $r,
|
/PHP-7.4/ext/gd/libgd/ |
H A D | gd_pixelate.c | 26 int a, r, g, b, c; in gdImagePixelate() local 30 a = r = g = b = c = total = 0; in gdImagePixelate() 39 r += gdImageRed(im, c); in gdImagePixelate() 47 c = gdImageColorResolveAlpha(im, r / total, g / total, b / total, a / total); in gdImagePixelate()
|
/PHP-7.4/ext/standard/tests/http/ |
H A D | ignore_errors.phpt | 16 "data://text/plain,HTTP/1.0 200 Ok\r\nX-Foo: bar\r\n\r\n1", 17 "data://text/plain,HTTP/1.0 404 Not found\r\nX-bar: baz\r\n\r\n2", 22 foreach($responses as $r) {
|
/PHP-7.4/ext/spl/tests/ |
H A D | SplFileObject_fputcsv_variation10.phpt | 23 $file_modes = array ("r+", "r+b", "r+t", 34 if ( strstr($file_modes[$mode_counter], "r") ) { 63 -- file opened in r+ -- 70 -- file opened in r+b -- 77 -- file opened in r+t -- 147 -- file opened in r+ -- 155 -- file opened in r+b -- 163 -- file opened in r+t -- 243 -- file opened in r+ -- 250 -- file opened in r+b -- [all …]
|