/PHP-7.4/ext/standard/tests/file/ |
H A D | bug38450_2.phpt | 20 return true; 27 return $ret; 36 return strlen($data); 41 return $this->position; 54 return true; 56 return false; 63 return true; 65 return false; 72 return true; 74 return false; [all …]
|
H A D | bug38450_3.phpt | 20 return true; 27 return $ret; 36 return strlen($data); 41 return $this->position; 54 return true; 56 return false; 63 return true; 65 return false; 72 return true; 74 return false; [all …]
|
/PHP-7.4/ext/reflection/tests/ |
H A D | ReflectionNamedType.phpt | 7 return 'test'; 11 return new Test; 16 $return = $function->getReturnType(); 20 var_dump($return->getName()); 21 var_dump((string) $return); 25 $return = $function->getReturnType(); 29 var_dump($return->getName()); 30 var_dump((string) $return);
|
/PHP-7.4/ext/sqlite3/tests/ |
H A D | stream_test.inc | 12 return true; 19 return $ret; 24 return 0; 29 return array('size' => self::$string_length); 34 return $this->position; 39 return ($this->position >= self::$string_length);
|
/PHP-7.4/tests/lang/ |
H A D | engine_assignExecutionOrder_005.phpt | 8 return 0; 13 return 0; 18 return 0; 23 return 0; 28 return 0; 33 return 0;
|
H A D | returnByReference.003.phpt | 6 return 100; 10 return 100; 14 return $GLOBALS['a']; 17 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:… 24 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan… 31 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n… 40 ---> 1. Trying to assign by reference the return value of a function that returns by value: 46 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref: 52 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
|
H A D | returnByReference.004.phpt | 7 return 100; 11 return 100; 15 return $GLOBALS['a']; 19 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:… 26 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan… 33 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n… 42 ---> 1. Trying to assign by reference the return value of a function that returns by value: 48 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref: 54 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
|
H A D | returnByReference.005.phpt | 7 return 100; 11 return 100; 15 return $GLOBALS['a']; 20 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:… 27 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan… 34 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n… 43 ---> 1. Trying to assign by reference the return value of a function that returns by value: 49 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref: 55 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
|
/PHP-7.4/Zend/tests/generators/ |
H A D | get_return_types.phpt | 2 Test different types of generator return values (VM operands) 7 return; // CONST 15 return "str"; // CONST 23 return $var; // CV 31 return $obj->prop; // VAR 39 return (int) $val; // TMP
|
/PHP-7.4/ext/session/tests/ |
H A D | bug80889.phpt | 11 return true; 14 return true; 17 return ''; 20 return true; 23 return true; 26 return true;
|
H A D | save_handler.inc | 33 return true; 45 return true; 82 return $return === FALSE ? FALSE : TRUE; 86 return false; 101 return true; 126 return $gc_cnt; 141 // MUST return session ID string. 143 return $id; 160 return $ret; 176 return $ret; [all …]
|
/PHP-7.4/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…
|
H A D | round4_groupH_complex_doclit.inc | 5 …return new SoapFault("Server", "Fault in response to 'echoSOAPStructFault'.", null, array("soapStr… 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, $input->param2… 20 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, array("soapStr… 26 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $input->param2… 28 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $input->param3… 30 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $input->param1…
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | mysql_pdo_test.inc | 32 return $db; 45 return PDO_MYSQL_TEST_ENGINE; 79 return $dsn; 101 return $version_string; 106 return $tmp; 111 return -1; 117 return $version; 135 return $temp_dir; 137 return FALSE; 154 return 'innodb'; [all …]
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | local_infile_tools.inc | 47 return ""; 56 return NULL; 67 return NULL; 76 return NULL; 78 return $file; 87 return false; 93 return false; 108 return false; 112 return true; 138 return false; [all …]
|
/PHP-7.4/ext/libxml/tests/ |
H A D | 002.phpt | 35 $return = $xml[$error->line - 1] . "\n"; 36 $return .= str_repeat('-', $error->column) . "^\n"; 40 $return .= "Warning $error->code: "; 43 $return .= "Error $error->code: "; 46 $return .= "Fatal Error $error->code: "; 50 $return .= trim($error->message) . "\n Line: $error->line" . "\n Column: $error->column"; 53 $return .= "\n File: $error->file"; 56 return "$return\n\n--------------------------------------------\n\n";
|
/PHP-7.4/Zend/tests/ |
H A D | bug73753.phpt | 7 return $result; 10 return iterate(getNext($a), $a, $current); 14 return next($a); 18 return current($a); 22 return iterate(getCurrent($a), $a);
|
H A D | dereference_001.phpt | 8 return array(1,array(5)); 13 return array(); 21 return array(array(array('foobar'))); 26 return array(new foo); 32 return $obj->test(); 39 return $x;
|
H A D | temporary_cleaning_013.phpt | 8 function __toString() { return "a"; } 35 function __get($x) { return [0]; } 46 function &__get($x) { return $this->bar; } 55 function offsetGet($x) { return [0]; } 79 var_dump((function() { return new class { 86 var_dump((function() { return new class { 94 var_dump((function() { return new class { 243 return new class { 244 function __toString() { return "a"; } 253 return new class { [all …]
|
/PHP-7.4/ext/dom/tests/ |
H A D | bug76738.phpt | 32 return $content; 37 $return = $content; 49 return TRUE; 53 return FALSE; 58 return FALSE; 63 return FALSE; 97 return $return; 152 return $dom; 179 $return = ''; 194 return $return; [all …]
|
/PHP-7.4/ext/pcre/tests/ |
H A D | preg_replace_callback_array.phpt | 8 return "d"; 14 return "ok"; 19 return "b"; 25 "/b/" => function () { return "c"; }, 33 "/b/" => function () { return "ok"; }, 41 "/b/" => function($a) { return "ok"; }), 'a', -1, $count));
|
/PHP-7.4/ext/soap/tests/interop/Round2/GroupB/ |
H A D | round2_groupB.inc | 6 return array('outputString' => $struct->varString, 13 return (object)array("varString" => $string, 20 return $struct; 25 return $ary; 30 return $ary;
|
/PHP-7.4/Zend/tests/type_declarations/ |
H A D | typed_return_without_value.phpt | 2 Typed return without value generates compile-time error 7 return; 14 Fatal error: A function with return type must return a value in %s on line %d
|
/PHP-7.4/ext/opcache/tests/ |
H A D | bug65915.phpt | 2 Bug #65915 (Inconsistent results with require return value) 13 file_put_contents($tmp, '<?php return function(){ return "a";};'); 19 file_put_contents($tmp, '<?php return function(){ return "b";};');
|
H A D | bug78015.phpt | 14 return $d; 21 return $d; 28 return $d; 35 return $d; 42 return $d; 50 return $d; 60 return $y; 73 return $ret[0]; 79 return serialize($a['b']);
|