Home
last modified time | relevance | path

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

12345678910>>...157

/PHP-5.4/Zend/tests/
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);
H A Dclosure_018.phpt7 public function test(&$x) {
16 $test = new foo;
19 var_dump($test->test($y));
20 var_dump($x = $test->test($y));
/PHP-5.4/ext/standard/tests/strings/
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"));
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 Dhtmlentities18.phpt8 "test+s & some more D",
9 "test+s & some more D",
18 foreach ($tests as $test) {
19 var_dump(htmlentities($test, ENT_QUOTES, NULL, FALSE));
20 var_dump(htmlspecialchars($test, ENT_QUOTES, NULL, FALSE));
28 string(33) "test+s & some more D"
29 string(33) "test+s & some more D"
30 string(34) "test+s & some more D"
31 string(34) "test+s & some more D"
/PHP-5.4/ext/oci8/
H A Dconfig.m45 if test -z "$SED"; then
12 if test "$PHP_OCI8_TAIL1" = "a"; then
36 if test ! -d "$OCI8_DIR"; then
39 if test -d "$OCI8_DIR/lib" && test ! -d "$OCI8_DIR/lib32"; then
41 elif test ! -d "$OCI8_DIR/lib" && test -d "$OCI8_DIR/lib32"; then
43 elif test -d "$OCI8_DIR/lib" && test -d "$OCI8_DIR/lib32"; then
61 if test -f "$OCI8_NNZ" && test -f "$OCI8_LCS"; then
79 elif test -f "$OCI8_LCS"; then
112 if test -z "$PHP_OCI8"; then
172 if test "$PHP_OCI8" = "yes" && test -z "$ORACLE_HOME"; then
[all …]
/PHP-5.4/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());
H A Dbug54384.phpt6 function test($f) {
19 test( function() {
29 test( function() {
39 test( function() {
48 test ( function() {
57 test ( function() {
66 test ( function() {
75 test ( function() {
84 test ( function() {
93 test ( function() {
[all …]
H A Dspl_priorityqeue_insert_two_params_error.phpt2 SPL: priorityQueue parameter test on insert method
14 var_dump($testHeap->insert('test'));
15 var_dump($testHeap->insert('test', 'test'));
16 var_dump($testHeap->insert('test', 'test', 'test'));
/PHP-5.4/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-5.4/ext/pdo_oci/
H A Dconfig.m413 if test -z "$PDO_OCI_VERSION"; then
22 if test "$ac_cv_sizeof_long_int" = "4" ; then
31 if test -d "$PDO_OCI_DIR/lib" && test ! -d "$PDO_OCI_DIR/lib32"; then
33 elif test ! -d "$PDO_OCI_DIR/lib" && test -d "$PDO_OCI_DIR/lib32"; then
35 elif test -d "$PDO_OCI_DIR/lib" && test -d "$PDO_OCI_DIR/lib32"; then
52 if test "$PHP_PDO_OCI" != "no"; then
54 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then
59 if test "$PHP_PDO_OCI" = "yes" || test -z "$PHP_PDO_OCI"; then
67 if test -z "$PDO_OCI_DIR"; then
84 if test -n "$PDO_OCI_IC_VERS"; then
[all …]
/PHP-5.4/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-5.4/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-5.4/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-5.4/ext/simplexml/tests/
H A D000.phpt10 function test($what)
20 test('sxe');
21 test('sxe->elem1');
22 test('sxe->elem1[0]');
27 test('sxe->elem1[1]');
28 test('sxe->elem1[2]');
29 test('sxe->elem11');
32 test('sxe->elem22');
104 ["test"]=>
139 ["test"]=>
[all …]
/PHP-5.4/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-5.4/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-5.4/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
/PHP-5.4/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-5.4/ext/standard/tests/file/windows_links/
H A Dbug48746_2.phpt10 die('skip windows only test');
24 $dirname = __DIR__ . "\\mnt\\test\\directory";
26 chdir(__DIR__ . "\\mnt\\test");
34 file_put_contents("$fullpath\\mnt\\test\\directory\\b.php", "<?php echo \"I am included.\n\" ?>");
36 print_r(scandir("$fullpath\\mnt\\test\\directory"));
37 print_r(scandir("$fullpath\\mnt\\test\\mklink_junction"));
38 unlink("$fullpath\\mnt\\test\\directory\\b.php");
41 rmdir(__DIR__ . "\\mnt\\test\\directory");
42 rmdir(__DIR__ . "\\mnt\\test\\mklink_junction");
43 rmdir(__DIR__ . "\\mnt\\test\\mounted_volume");
[all …]
/PHP-5.4/ext/standard/tests/file/
H A Dinclude_streams.phpt102 die("test wrapper registration failed");
105 echo file_get_contents("test://GLOBALS/data1");
106 include("test://GLOBALS/data1");
107 include_once("test://GLOBALS/data2");
108 include_once("test://GLOBALS/data2");
123 test://GLOBALS/data1
124 test://GLOBALS/data2
126 test://GLOBALS/data3
127 test://GLOBALS/data4
129 test://GLOBALS/data5
[all …]
/PHP-5.4/ext/mysql/
H A Dconfig.m48 if test -r $j; then
27 if test -r $i; then
33 if test -n "$MYSQL_SOCK"; then
51 if test -z "$PHP_ZLIB_DIR"; then
56 if test "$PHP_MYSQL" = "yes" || test "$PHP_MYSQL" = "mysqlnd"; then
60 elif test "$PHP_MYSQL" != "no"; then
74 if test -z "$MYSQL_DIR"; then
91 if test -z "$PHP_LIBDIR"; then
149 if test "$PHP_MYSQL_SOCK" != "no" && test "$PHP_MYSQL_SOCK" != "yes"; then
153 elif test "$PHP_MYSQL" = "yes" || test "$PHP_MYSQL_SOCK" = "yes"; then
[all …]
/PHP-5.4/ext/standard/tests/class_object/
H A Dget_object_vars_basic_001.phpt14 public static function test($b) {
26 public static function test($b) {
35 public static function test($b) {
53 B::test($b);
55 C::test($b);
57 A::test($b);
59 X::test($b);
70 B::test
83 C::test
92 A::test
[all …]

Completed in 50 milliseconds

12345678910>>...157