/PHP-5.6/ext/phar/tests/zip/files/ |
H A D | corrupt2.php.inc | 5 $a->addFile('hi2', null, 'hii2', null, null, 'encrypt', 'encrypt'); 12 $a->addFile('hii', null, 'hii', null, null, 'filename_len', 'filename_len'); 16 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress'); 19 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 2); 22 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 3); 25 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 4); 28 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 5); 31 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 6); 34 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 7); 37 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 9); [all …]
|
H A D | corrupt3.php.inc | 4 $a->addFile('hi', null, 'hii', null, null, null, 'extralen1'); 7 $a->addFile('hi', null, 'hii');
|
/PHP-5.6/ext/phar/tests/zip/ |
H A D | bzip2.phpt | 26 $a->addFile('hi2', null, 'hii2', null, null, 'encrypt', 'encrypt'); 33 $a->addFile('hii', null, 'hii', null, null, 'filename_len', 'filename_len'); 37 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress'); 40 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 2); 43 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 3); 46 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 4); 49 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 5); 52 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 6); 55 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 7); 58 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 9); [all …]
|
/PHP-5.6/ext/pdo_mysql/tests/ |
H A D | bug68371.phpt | 22 PDO::ATTR_AUTOCOMMIT => array(null), 23 PDO::ATTR_PREFETCH => array(null), 24 PDO::ATTR_TIMEOUT => array(null), 25 PDO::ATTR_ERRMODE => array(null), 28 PDO::ATTR_SERVER_INFO => array(null), 30 PDO::ATTR_CASE => array(null), 31 PDO::ATTR_CURSOR_NAME => array(null), 32 PDO::ATTR_CURSOR => array(null), 33 PDO::ATTR_ORACLE_NULLS => array(null), 34 PDO::ATTR_PERSISTENT => array(null), [all …]
|
/PHP-5.6/Zend/tests/ |
H A D | offset_null.phpt | 2 using different variables to access null offsets 6 $null = NULL; 8 var_dump($null[1]); 9 var_dump($null[0.0836]); 10 var_dump($null[NULL]); 11 var_dump($null["run away"]); 13 var_dump($null[TRUE]); 14 var_dump($null[FALSE]); 17 var_dump($null[$fp]); 20 var_dump($null[$obj]); [all …]
|
H A D | closure_044.phpt | 24 echo "After binding, null scope, no instance", "\n"; 25 $d = $nonstaticUnscoped->bindTo(null, null); $d(); echo "\n"; 26 $d = $nonstaticScoped->bindTo(null, null); $d(); echo "\n"; 28 echo "After binding, null scope, with instance", "\n"; 29 $d = $nonstaticUnscoped->bindTo(new A, null); $d(); echo "\n"; 30 $d = $nonstaticScoped->bindTo(new A, null); $d(); echo "\n"; 33 $d = $nonstaticUnscoped->bindTo(null, 'A'); $d(); echo "\n"; 34 $d = $nonstaticScoped->bindTo(null, 'A'); $d(); echo "\n"; 50 After binding, null scope, no instance 57 After binding, null scope, with instance
|
H A D | closure_043.phpt | 24 echo "After binding, null scope, no instance", "\n"; 25 $d = $staticUnscoped->bindTo(null, null); $d(); echo "\n"; 26 $d = $staticScoped->bindTo(null, null); $d(); echo "\n"; 28 echo "After binding, null scope, with instance", "\n"; 29 $d = $staticUnscoped->bindTo(new A, null); $d(); echo "\n"; 30 $d = $staticScoped->bindTo(new A, null); $d(); echo "\n"; 33 $d = $staticUnscoped->bindTo(null, 'A'); $d(); echo "\n"; 34 $d = $staticScoped->bindTo(null, 'A'); $d(); echo "\n"; 50 After binding, null scope, no instance 57 After binding, null scope, with instance
|
/PHP-5.6/ext/mbstring/tests/ |
H A D | mb_str_functions_opt-parameter.phpt | 2 Optional long parameter might be null 7 echo mb_strpos('abb', 'b', null, 'UTF-8') . "\n"; 8 echo mb_strrpos('abb', 'b', null, 'UTF-8') . "\n"; 9 echo mb_stripos('abb', 'B', null, 'UTF-8') . "\n"; 10 echo mb_strripos('abb', 'B', null, 'UTF-8') . "\n"; 11 echo mb_strstr('foobarbaz', 'ba', null, 'UTF-8') . "\n"; 12 echo mb_strrchr('foobarbaz', 'ba', null, 'UTF-8') . "\n"; 13 echo mb_stristr('foobarbaz', 'BA', null, 'UTF-8') . "\n"; 15 echo mb_substr('foobarbaz', 6, null, 'UTF-8') . "\n"; 16 echo mb_strcut('foobarbaz', 6, null, 'UTF-8') . "\n"; [all …]
|
/PHP-5.6/ext/pdo_pgsql/tests/ |
H A D | bug68371.phpt | 24 PDO::ATTR_AUTOCOMMIT => array(null), 25 PDO::ATTR_PREFETCH => array(null), 26 PDO::ATTR_TIMEOUT => array(null), 27 PDO::ATTR_ERRMODE => array(null), 30 PDO::ATTR_SERVER_INFO => array(null), 32 PDO::ATTR_CASE => array(null), 33 PDO::ATTR_CURSOR_NAME => array(null), 34 PDO::ATTR_CURSOR => array(null), 35 PDO::ATTR_ORACLE_NULLS => array(null), 36 PDO::ATTR_PERSISTENT => array(null), [all …]
|
/PHP-5.6/ext/intl/doc/ |
H A D | locale_api.php | 45 const DEFAULT_LOCALE = null; 153 public static function getDisplayName($locale, $in_locale = null) {} 165 public static function getDisplayLanguage($lang, $in_locale = null) {} 176 public static function getDisplayScript($script, $in_locale = null) {} 188 public static function getDisplayRegion($region, $in_locale = null) {} 200 public static function getDisplayVariant($variant, $in_locale = null) {} 336 function locale_get_display_name($locale, $in_locale = null) {} 348 function locale_get_display_language($lang, $in_locale = null) {} 359 function locale_get_display_script($script, $in_locale = null) {} 371 function locale_get_display_region($region, $in_locale = null) {} [all …]
|
H A D | datefmt_api.php | 66 …n __construct($locale, $datetype, $timetype, $timezone = null, $calendar= null , $pattern= null) {} 82 …nction create($locale, $datetype, $timetype, $timezone = null, $calendar= null , $pattern= null) {} 262 …datefmt_create($locale, $datetype, $timetype, $timezone = null, $calendar= null ,$pattern=null ) {}
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | array_intersect_key_variation7.phpt | 2 Test array_intersect_key() function : usage variation - Passing null,unset and undefeined variable … 13 $input_array = array(0 => '0', 1 => '1' , -10 => '-10' , null => 'null'); 19 'null indexed' => array(NULL => 'null 1', null => 'null 2'), 34 --null indexed-- 37 string(4) "null" 41 string(6) "null 2" 47 string(4) "null" 57 string(4) "null"
|
H A D | array_column_variant.phpt | 11 echo "-- pass null as second parameter to get back all columns indexed by third parameter --\n"; 12 var_dump(array_column($rows, null, 'id')); 14 echo "-- pass null as second parameter and bogus third param to get back zero-indexed array of all … 15 var_dump(array_column($rows, null, 'foo')); 17 echo "-- pass null as second parameter and no third param to get back array_values(input) --\n"; 18 var_dump(array_column($rows, null)); 22 -- pass null as second parameter to get back all columns indexed by third parameter -- 43 -- pass null as second parameter and bogus third param to get back zero-indexed array of all column… 64 -- pass null as second parameter and no third param to get back array_values(input) --
|
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"; 28 var_dump( array_filter($input, create_function(null, 'return true;') ) ); 30 // anonymous callback function with argument and null statement 31 echo "Anonymous callback function with regular argument and null statement\n"; 32 var_dump( array_filter($input, create_function('$input', null) ) ); 58 Anonymous callback funciton with null argument 77 Anonymous callback function with regular argument and null statement
|
/PHP-5.6/ext/soap/tests/interop/Round4/GroupH/ |
H A D | round4_groupH_simple_doclit.inc | 5 …return new SoapFault("Server", "Fault in response to 'echoEmptyFault'.", null, null, "SimpleFault"… 9 …return new SoapFault("Server", "Fault in response to 'echoStringFault'.", null, $input, "SimpleFau… 13 …return new SoapFault("Server", "Fault in response to 'echoIntArrayFault'.", null, $input, "SimpleF… 18 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, $input->param1… 20 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, $input->param2… 22 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, null, "SimpleF… 28 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $input->param1… 30 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $input->param3… 32 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $input->param2… 38 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults3'.", null, $input->param2… [all …]
|
H A D | round4_groupH_simple_rpcenc.inc | 5 …return new SoapFault("Server", "Fault in response to 'echoEmptyFault'.", null, null, "SimpleFault"… 9 …return new SoapFault("Server", "Fault in response to 'echoStringFault'.", null, $input, "SimpleFau… 13 …return new SoapFault("Server", "Fault in response to 'echoIntArrayFault'.", null, $input, "SimpleF… 18 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, $string, "Simp… 20 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, $floats, "Simp… 22 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, null, "SimpleF… 28 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $string, "Simp… 32 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $float, "Simpl… 38 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults3'.", null, $param2, "Simp… 46 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults4'.", null, $enum, "Simple… [all …]
|
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-5.6/ext/standard/tests/general_functions/ |
H A D | var_export_basic7.phpt | 2 Test var_export() function with valid null values 11 echo "*** Testing var_export() with valid null values ***\n"; 13 // different valid null vlaues 15 unset ($unset_var); // now a null 20 "null" => null, 24 /* Loop to check for above null values with var_export() */ 25 echo "\n*** Output for null values ***\n"; 38 *** Testing var_export() with valid null values *** 40 *** Output for null values *** 48 -- Iteration: null --
|
/PHP-5.6/ext/json/tests/ |
H A D | serialize.phpt | 47 'nil' => null, 64 {"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}} 65 {"data":["foo",1,2.3,false,null,[1,2,3],{}]} 66 {"data":{"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}}} 68 {"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}} 69 ["foo",1,2.3,false,null,[1,2,3],{}] 70 {"str":"foo","int":1,"float":2.3,"bool":false,"nil":null,"arr":[1,2,3],"obj":{}} 72 ["foo",1,2.3,false,null,[1,2,3],{}] 73 ["foo",1,2.3,false,null,[1,2,3],{}] 74 ["foo",1,2.3,false,null,[1,2,3],{}] [all …]
|
/PHP-5.6/ext/filter/tests/ |
H A D | 055.phpt | 8 array("01-23-45-67-89-ab", null), 12 array("01-23-45-67-89-AB", null), 13 array("01-23-45-67-89-aB", null), 14 array("01:23:45:67:89:ab", null), 15 array("01:23:45:67:89:AB", null), 16 array("01:23:45:67:89:aB", null), 17 array("01:23:45-67:89:aB", null), 18 array("xx:23:45:67:89:aB", null), 19 array("0123.4567.89ab", null),
|
/PHP-5.6/ext/sybase_ct/tests/ |
H A D | bug29064.phpt | 19 test_decimal decimal(38, 6) null, 20 test_numeric numeric(38, 12) null, 21 test_money money null, 22 test_bigint decimal(38, 0) null, 23 test_int int null, 24 test_smallmoney smallmoney null, 25 test_smallint smallint null, 26 test_tinyint tinyint null, 27 test_real float null, 28 test_double float null
|
/PHP-5.6/ext/pdo_sqlite/tests/ |
H A D | bug43831.phpt | 10 parent::__construct($dsn, null, null, array(PDO::ATTR_PERSISTENT => true)); 16 parent::__construct($dsn, null, null, array(PDO::ATTR_PERSISTENT => true)); 34 $bar = new PDO("sqlite::memory:", null, null, array(PDO::ATTR_PERSISTENT => true)); 35 $baz = new MyPDO("sqlite::memory:", null, null, array(PDO::ATTR_PERSISTENT => true));
|
/PHP-5.6/ext/soap/tests/bugs/ |
H A D | bug69462.phpt | 9 $client = new SoapClient(null, [ 'exceptions' => 1, 'location' => "", 'uri' => $namespace ]); 13 new SoapVar('value', XSD_STRING, null, null, null, $namespace) 15 SOAP_ENC_OBJECT, null, null, 'name', $namespace
|
/PHP-5.6/ext/mysqli/tests/ |
H A D | bug55283.phpt | 46 mysqli_ssl_set($link, null, null, null, null, "RC4-MD5"); 47 if (my_mysqli_real_connect($link, 'p:' . $host, $user, $passwd, $db, $port, null, $flags)) { 54 mysqli_ssl_set($link2, null, null, null, null, "RC4-MD5"); 55 if (my_mysqli_real_connect($link2, $host, $user, $passwd, $db, $port, null, $flags)) {
|