/PHP-7.3/Zend/tests/ |
H A D | bug32322.phpt | 9 private static $instance = null; 20 if ( self::$instance == null ) 31 static $instance2 = null; 32 if ( $instance2 == null ) 53 $getCopyofSingleton = null; 55 $getCopyofSingleton = null; 59 $getCopyofSingleton2 = null; 61 $getCopyofSingleton2 = null;
|
H A D | bug68446.phpt | 6 const BAR = null; 16 b(null); 21 a(null); 35 Fatal error: Uncaught TypeError: Argument 1 passed to a() must be of the type array, null given, ca…
|
/PHP-7.3/ext/standard/tests/array/ |
H A D | each_variation3.phpt | 49 // null data 50 /*4*/ 'null uppercase' => array( 51 NULL => 'null 1', 54 /*5*/ 'null lowercase' => array( 55 null => 'null 2', 147 -- Iteration 4: null uppercase data -- 150 string(6) "null 1" 152 string(6) "null 1" 159 -- Iteration 5: null lowercase data -- 162 string(6) "null 2" [all …]
|
H A D | array_filter_variation7.phpt | 16 $input = array(0, 1, -1, 10, 100, 1000, 'Hello', null); 26 // anonymous callback function with null argument 27 echo "Anonymous callback funciton with null argument\n"; 30 // anonymous callback function with argument and null statement 31 echo "Anonymous callback function with regular argument and null statement\n"; 58 Anonymous callback funciton with null argument 77 Anonymous callback function with regular argument and null statement
|
H A D | array_map_variation14.phpt | 2 Test array_map() function : usage variations - null value for 'callback' argument 11 * Test array_map() by passing null values for $callback argument and testing whether shortest 15 echo "*** Testing array_map() : null value for 'callback' argument ***\n"; 26 /* calling array_map() with null callback */ 28 echo "-- with null --\n"; 29 var_dump( array_map(null, $arr1, $arr2, $arr3) ); 47 *** Testing array_map() : null value for 'callback' argument *** 48 -- with null --
|
H A D | array_diff_uassoc_variation12.phpt | 2 Test array_diff_uassoc() function : usage variation - Passing null,unset and undefined variable ind… 21 'null indexed' => array(NULL => NULL, null => null), 37 --null indexed--
|
H A D | bug68553.phpt | 2 Bug #68553 (array_column: null values in $index_key become incrementing keys in result) 19 ['a' => null, "test"], 20 ['a' => null], 23 var_dump(array_column($a, null, 'a'));
|
H A D | key_variation2.phpt | 48 // null data 49 /*4*/ 'null uppercase' => array( 50 NULL => 'null 1', 53 /*5*/ 'null lowercase' => array( 54 null => 'null 2', 125 -- Iteration 4 : null uppercase data -- 128 -- Iteration 5 : null lowercase data --
|
/PHP-7.3/ext/xmlwriter/tests/ |
H A D | bug41287.phpt | 14 xmlwriter_write_element_ns($xw, 'test', 'foo', null, ''); 15 xmlwriter_write_element_ns($xw, null, 'bar', 'urn:x-test:', ''); 16 xmlwriter_write_element_ns($xw, null, 'bar', '', ''); 27 $xw->writeElementNS('test', 'foo', null, ''); 28 $xw->writeElementNS(null, 'bar', 'urn:x-test:', ''); 29 $xw->writeElementNS(null, 'bar', '', '');
|
H A D | bug41326.phpt | 14 $xml->writeElement('foo', null); 30 $xw->writeElementNS('test', 'foo', null, ''); 31 $xw->writeElementNS(null, 'bar', 'urn:x-test:', ''); 32 $xw->writeElementNS(null, 'bar', 'urn:x-test:', NULL); 33 $xw->writeElementNS(null, 'bar', 'urn:x-test:'); 34 $xw->writeElementNS(null, 'bar', '', '');
|
/PHP-7.3/ext/openssl/tests/ |
H A D | CertificateGenerator.inc | 13 /** @var resource|null */ 16 /** @var resource|null */ 30 * @param int|null $keyLength 33 private static function generateKey($keyLength = null) 35 if (null === $keyLength) { 66 null, 85 public function saveNewCertAsFileWithKey($commonNameForCert, $file, $keyLength = null)
|
H A D | openssl_csr_sign_basic.phpt | 32 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $args)); 33 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $config_arg)); 37 var_dump(openssl_csr_sign($csr, null, $wrong, 365)); 38 var_dump(openssl_csr_sign($csr, null, $privkey, $wrong)); 39 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $wrong)); 40 var_dump(openssl_csr_sign($wrong, null, $privkey, 365)); 41 var_dump(openssl_csr_sign(array(), null, $privkey, 365)); 43 var_dump(openssl_csr_sign($csr, null, array(), 365)); 44 var_dump(openssl_csr_sign($csr, null, $privkey, array())); 45 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $config_arg));
|
/PHP-7.3/sapi/fpm/tests/ |
H A D | tester.inc | 283 $fileName = null 305 * @return null|string 317 return null; 506 string $uri = null, 622 * @return null|string 627 $write = null; 628 $except = null; 632 return null; 676 * @param int|null $pid 889 private function getFile(string $extension, $dir = null, $name = null) [all …]
|
/PHP-7.3/build/ |
H A D | shtool | 436 mkdir "$tmpdir" >/dev/null 2>&1 505 … term_bold=`awk 'BEGIN { printf("%c%c%c%c", 27, 91, 49, 109); }' </dev/null 2>/dev/null` 506 term_norm=`awk 'BEGIN { printf("%c%c%c", 27, 91, 109); }' </dev/null 2>/dev/null` 509 … term_bold=`awk 'BEGIN { printf("%c%c%c%c%c%c", 27, 91, 49, 109, 0, 0); }' </dev/null 2>/dev/null` 510 … term_norm=`awk 'BEGIN { printf("%c%c%c%c%c", 27, 91, 109, 0, 0); }' </dev/null 2>/dev/null` 726 time_year=`date '+%Y' 2>/dev/null` 1235 ) 2>/dev/null` 1679 if [ -x /bin/sh ] 2>/dev/null; then 1723 rm -f $tmpfile >/dev/null 2>&1 1747 rm -f $tmpfile >/dev/null 2>&1 [all …]
|
/PHP-7.3/ext/standard/tests/strings/ |
H A D | strncmp_variation7.phpt | 2 Test strncmp() function : usage variations - binary safe(null terminated strings) 10 /* Test strncmp() function with binary values passed to 'str1' & 'str2' and with the null terminate… 12 echo "*** Test strncmp() function: Checking with the null terminated strings ***\n"; 14 /* A binary function should not expect a null terminated string, and it should treat input as a raw… 22 *** Test strncmp() function: Checking with the null terminated strings ***
|
/PHP-7.3/ext/soap/tests/interop/Round2/Base/ |
H A D | r2_base_015s.phpt | 18 new SoapVar('arg', XSD_STRING, null, null, 'varString'), 19 new SoapVar('34', XSD_INT, null, null, 'varInt'), 20 new SoapVar('325.325', XSD_FLOAT, null, null, 'varFloat') 23 new SoapVar('arg', XSD_STRING, null, null, 'varString'), 24 new SoapVar('34', XSD_INT, null, null, 'varInt'), 25 new SoapVar('325.325', XSD_FLOAT, null, null, 'varFloat')
|
/PHP-7.3/ext/filter/tests/ |
H A D | bug67167.02.phpt | 2 Bug #67167: filter_var(null,FILTER_VALIDATE_BOOLEAN,FILTER_NULL_ON_FAILURE) returns null 8 null,
|
/PHP-7.3/ext/standard/tests/general_functions/ |
H A D | is_null.phpt | 9 echo "*** Testing is_null() with valid null values ***\n"; 10 // different valid null values 17 // unset them to make it null. 20 $null_var2 = null; 24 null, 36 null values, expected output: bool(true) */ 85 "null", 113 array(null), 135 var_dump( is_null(NULL, null) ); 145 *** Testing is_null() with valid null values *** [all …]
|
H A D | var_export_basic4.phpt | 23 "'null'" => 'null', 100 -- Iteration: 'null' -- 101 'null' 102 'null' 103 string(6) "'null'"
|
/PHP-7.3/ext/sockets/tests/ |
H A D | socket_create_pair-wrongparams.phpt | 13 var_dump(socket_create_pair(AF_INET, null, null)); 18 var_dump(socket_create_pair(AF_INET, null, null, $sockets)); 20 var_dump(socket_create_pair(31337, null, null, $sockets));
|
/PHP-7.3/ext/intl/tests/ |
H A D | bug62082.phpt | 9 var_dump(locale_get_display_name(str_repeat("a", 300), null)); 10 var_dump(locale_get_display_name(str_repeat("a", 512), null)); 11 var_dump(locale_get_display_name(str_repeat("a", 600), null));
|
/PHP-7.3/ext/reflection/tests/ |
H A D | bug77772.phpt | 2 Bug #77772: ReflectionClass::getMethods(null) doesn't work 12 foreach ($rc->getMethods(null) as $method) { 15 foreach ($rc->getProperties(null) as $prop) {
|
/PHP-7.3/Zend/tests/return_types/ |
H A D | 002.phpt | 2 Returned null, expected array 6 return null; 11 Fatal error: Uncaught TypeError: Return value of test1() must be of the type array, null returned i…
|
/PHP-7.3/Zend/tests/traits/ |
H A D | bug60717.phpt | 11 function attributes(array $attributes = null); 12 function textArea(array $attributes = null, $value); 22 function textArea(array $attributes = null, $value) {} 23 abstract function attributes(array $attributes = null); 29 function attributes(array $attributes = null) { }
|
/PHP-7.3/ext/pdo/tests/ |
H A D | debug_emulated_prepares.phpt | 28 $stmt = $db->prepare('SELECT :bool, :int, :string, :null'); 32 $stmt->bindValue(':null', null, PDO::PARAM_NULL); 43 SQL: [34] SELECT :bool, :int, :string, :null 61 Key: Name: [5] :null 63 name=[5] ":null"
|