Home
last modified time | relevance | path

Searched refs:test (Results 101 – 125 of 4730) sorted by relevance

12345678910>>...190

/PHP-7.0/Zend/tests/
H A Dclosure_016.phpt16 $test = new Foo;
17 var_dump(is_callable($test, true, $name));
19 var_dump(is_callable($test, false, $name));
21 var_dump(is_callable(array($test,"__invoke"), true, $name));
23 var_dump(is_callable(array($test,"__invoke"), false, $name));
25 $test = foo();
26 var_dump(is_callable($test, true, $name));
28 var_dump(is_callable($test, false, $name));
30 var_dump(is_callable(array($test,"__invoke"), true, $name));
32 var_dump(is_callable(array($test,"__invoke"), false, $name));
H A Dbug73916.phpt8 $test[] =& $a;
9 $test[] =& $b;
10 test($test);
11 function test() {
16 #0 test(Array ([0] => Array ([0] => a),[1] => b Object ())) called at [%sbug73916.php:%d]
H A Dlsb_005.phpt7 public static function test() {
9 TestB::test();
11 TestC::test();
13 TestBB::test();
19 public static function test() {
21 TestC::test();
27 public static function test() {
35 TestA::test();
H A Dobjects_024.phpt19 function test() {
23 $a = test()->bar = 1;
24 var_dump($a, count(foo::$bar), test()->whatever);
28 $a = test()->bar = NULL;
29 var_dump($a, count(foo::$bar), test()->whatever);
33 $a = test()->bar = test();
34 var_dump($a, count(foo::$bar), test()->whatever);
/PHP-7.0/ext/standard/tests/array/
H A D002.phpt41 ["test"]=>
68 ["test"]=>
92 ["test"]=>
109 ["test"]=>
162 ["test"]=>
183 ["test"]=>
207 ["test"]=>
238 ["test"]=>
255 ["test"]=>
291 ["test"]=>
[all …]
/PHP-7.0/ext/standard/tests/general_functions/
H A Dvar_export_basic5.phpt26 "array(\"test\" => \"is_array\")" => array("test" => "is_array"),
30 "array(\"string\", \"test\")" => array("string", "test"),
31 "array('string', 'test')" => array('string', 'test')
201 'test' => 'is_array',
204 'test' => 'is_array',
253 1 => 'test',
257 1 => 'test',
261 1 => 'test',
268 1 => 'test',
272 1 => 'test',
[all …]
/PHP-7.0/ext/simplexml/tests/
H A D031.phpt9 xmlns:s="urn::test" xmlns:t="urn::test-t">
10 <child1>test</child1>
11 <child1>test 2</child1>
19 $sxe->addAttribute('v:att11', 'xxx', 'urn::test-v');
22 $sxe->addAttribute('v:att11', 'xxx', 'urn::test-v');
29 $d->addChild('m:test', 'myval', 'urn::test');
33 $sxe->addChild('m:test1', 'myval', 'urn::test');
35 /* New namespace test */
52 <root xmlns:s="urn::test" xmlns:t="urn::test-t" xmlns:v="urn::test-v" s:att1="b" att1="a" v:att11="…
53 <child1>test</child1>
[all …]
/PHP-7.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_prepare_emulated.phpt105 prepex(9, $db, 'DELETE FROM test');
111 prepex(12, $db, 'DELETE FROM test');
125 array(':placeholder' => 'test'));
136 prepex(20, $db, 'DELETE FROM test');
167 prepex(34, $db, 'DELETE FROM test');
207 prepex(49, $db, 'DELETE FROM test');
213 prepex(52, $db, 'DELETE FROM test');
241 prepex(61, $db, 'DELETE FROM test');
273 prepex(74, $db, 'DELETE FROM test');
304 …$sql = "SELECT id, label FROM test WHERE id = ? AND label = (SELECT label AS 'SELECT' FROM test WH…
[all …]
/PHP-7.0/ext/standard/tests/strings/
H A Dstrrpos.phpt5 var_dump(strrpos("test test string", "test"));
6 var_dump(strrpos("test string sTring", "string"));
7 var_dump(strrpos("test strip string strand", "str"));
9 var_dump(strrpos("test string", "g"));
11 var_dump(strrpos("tEst", "test"));
12 var_dump(strrpos("teSt", "test"));
H A Drtrim.phpt17 var_dump ( rtrim("rtrim test \t\0 ") ); /* without second Argument */
19 var_dump ( rtrim("rtrim test ", NULL) ); /* with NULL as second Argument */
61 string(10) "rtrim test"
62 string(13) "rtrim test "
63 string(18) "rtrim test "
64 string(18) "rtrim test "
65 string(10) "rtrim test"
66 string(11) "rtrim test "
67 string(10) "rtrim test"
68 string(10) "rtrim test"
[all …]
H A Dstrripos.phpt5 var_dump(strripos("test test string", "test"));
6 var_dump(strripos("test string sTring", "string"));
7 var_dump(strripos("test strip string strand", "str"));
9 var_dump(strripos("test string", "g"));
11 var_dump(strripos("tEst", "test"));
12 var_dump(strripos("teSt", "test"));
/PHP-7.0/tests/classes/
H A Dprivate_redeclare.phpt9 function test() {
15 $t->test();
21 function test() {
22 echo "test\n";
24 parent::test();
30 $t->test();
34 test
40 #0 %s(%d): derived->test()
/PHP-7.0/ext/pdo_dblib/
H A Dconfig.m48 if test "$PHP_PDO_DBLIB" != "no"; then
10 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then
14 if test "$PHP_PDO_DBLIB" = "yes"; then
17 if test -f $i/include/sybdb.h; then
21 elif test -f $i/include/freetds/sybdb.h; then
28 if test -z "$PDO_FREETDS_INSTALLATION_DIR"; then
32 elif test "$PHP_PDO_DBLIB" != "no"; then
34 if test -f $PHP_PDO_DBLIB/include/sybdb.h; then
45 if test "x$PHP_LIBDIR" = "x" ; then
49 …if test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libsybdb.a" && test ! -r "$PDO_FREETDS_INS…
[all …]
/PHP-7.0/ext/pdo/tests/
H A Dpdo_020.phpt17 $db->exec('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, val VARCHAR(10), val2 VARCHAR(16))');
18 $db->exec("INSERT INTO test VALUES(1, 'A', 'A')");
19 $db->exec("INSERT INTO test VALUES(2, 'B', 'B')");
20 $db->exec("INSERT INTO test VALUES(3, 'C', 'C')");
22 foreach (array('SELECT id, val FROM test', 'SELECT id, val, val2 FROM test', 'SELECT COUNT(*) FROM
32 Counted 2 columns after SELECT id, val FROM test.
33 Counted 3 columns after SELECT id, val, val2 FROM test.
34 Counted 1 columns after SELECT COUNT(*) FROM test.
/PHP-7.0/ext/spl/tests/
H A Dobserver_004.phpt8 public $test = 25;
10 public function __construct($test = 42)
12 $this->test = $test;
37 var_dump($object->test);
51 var_dump($object->test);
72 ["test"]=>
82 ["test"]=>
104 ["test"]=>
114 ["test"]=>
H A Dspl_recursiveIteratorIterator_setMaxDepth_parameter_count.phpt11 $test = new RecursiveIteratorIterator($recursiveArrayIterator);
13 //var_dump($test->current());
14 $test->setMaxDepth();
15 $test->setMaxDepth(1);
16 $test->setMaxDepth(1,2);
17 $test->setMaxDepth(1,2,3);
19 //var_dump($test->current());
/PHP-7.0/ext/soap/tests/soap12/
H A DT74.phpt11 <test:echoOk xmlns:test="http://example.org/ts-tests"
12 env:role="http://www.w3.org/2003/05/soap-envelope/role/next">foo</test:echoOk>
13 <test:Unknown xmlns:test="http://example.org/ts-tests">
14 <test:raiseFault env:mustUnderstand="1"
16 </test:raiseFault>
17 </test:Unknown>
23 include "soap12-test.inc";
/PHP-7.0/ext/phar/tests/files/
H A Dinclude_path.phar.inc2 // test advanced example
7 $phar2['test/file1.php'] = 'test/file1.php
9 $phar['hello/test.php'] = '<?php
14 include 'phar://' . __FILE__ . '/hello/test.php';
15 …lude_path('.' . PATH_SEPARATOR . 'phar://' . dirname(__FILE__) . '/files/include_path2.phar/test');
16 include 'phar://' . __FILE__ . '/hello/test.php';
/PHP-7.0/ext/oci8/tests/
H A Dlob_038.phpt117 string(11) "clob test 1"
119 string(11) "clob test 2"
121 string(11) "clob test 3"
133 string(11) "clob test 1"
141 string(11) "clob test 2"
149 string(11) "clob test 3"
159 string(11) "blob test 1"
161 string(11) "blob test 2"
175 string(11) "blob test 1"
183 string(11) "blob test 2"
[all …]
/PHP-7.0/tests/lang/
H A Dbug27439.phpt12 class test {
56 $test = new test();
57 $test->case1();
58 $test->case2();
59 $test->case3();
60 $test->case4();
61 $test->case5();
62 $test->case6();
68 Notice: Undefined property: test::$foobar in %s on line %d
/PHP-7.0/ext/pdo_oci/
H A Dconfig.m45 if test -z "$SED"; then
12 if test "$PHP_PDO_OCI_TAIL1" = "a"; then
22 if test -f "$PDO_OCI_LCS"; then
25 elif test -f $PDO_OCI_LCS_BASE.9.0; then
46 if test -d "$PDO_OCI_DIR/lib" && test ! -d "$PDO_OCI_DIR/lib32"; then
48 elif test ! -d "$PDO_OCI_DIR/lib" && test -d "$PDO_OCI_DIR/lib32"; then
50 elif test -d "$PDO_OCI_DIR/lib" && test -d "$PDO_OCI_DIR/lib32"; then
67 if test "$PHP_PDO_OCI" != "no"; then
69 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then
74 if test "$PHP_PDO_OCI" = "yes" || test -z "$PHP_PDO_OCI"; then
[all …]
/PHP-7.0/ext/soap/tests/bugs/
H A Dbug30106.phpt11 "schema"=>"<xsd:schema><element name=\"test\" type=\"xsd:string\"/></xsd:schema>",
12 "any"=>"<test>Hello World!</test><test>Bye World!</test>"));
63 …Result><xsd:schema><element name="test" type="xsd:string"/></xsd:schema><test>Hello World!</test><
68 string(65) "<xsd:schema><element name="test" type="xsd:string"/></xsd:schema>"
70 string(48) "<test>Hello World!</test><test>Bye World!</test>"
H A Dbug41097.phpt7 function test($soap, $array) {
8 $soap->test($array);
13 $soap = new SoapClient(null, array('uri' => 'http://uri/', 'location' => 'test://', 'exceptions' =>…
14 test($soap, array('Foo', 'Bar'));
15 test($soap, array(5 => 'Foo', 10 => 'Bar'));
16 test($soap, array('5' => 'Foo', '10' => 'Bar'));
17 $soap->test(new SoapVar(array('Foo', 'Bar'), APACHE_MAP));
19 $soap->test(new SoapVar(array('Foo', 'Bar'), SOAP_ENC_ARRAY));
/PHP-7.0/ext/fileinfo/tests/
H A Dfinfo_file_002.phpt24 ["%s/resources/test.awk"]=>
26 ["%s/resources/test.bmp"]=>
28 ["%s/resources/test.gif"]=>
30 ["%s/resources/test.jpg"]=>
32 ["%s/resources/test.mp3"]=>
34 ["%s/resources/test.pdf"]=>
36 ["%s/resources/test.png"]=>
38 ["%s/resources/test.ppt"]=>
/PHP-7.0/Zend/tests/arg_unpack/
H A Dtraversable_with_by_ref_parameters.phpt6 function test($val1, $val2, $val3, &$ref) {
16 test(1, 2, 3, $b, ...gen([4, 5, 6]));
19 test(...gen([1, 2, 3, 4]));
20 test(1, 2, ...gen([3, 4]));
21 test(...gen([1, 2]), ...gen([3, 4]));
27 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value…
29 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value…
31 Warning: Cannot pass by-reference argument 4 of test() by unpacking a Traversable, passing by-value…

Completed in 57 milliseconds

12345678910>>...190