Home
last modified time | relevance | path

Searched refs:test (Results 76 – 100 of 4030) sorted by relevance

12345678910>>...162

/PHP-5.3/Zend/tests/
H A Dconcat_001.phpt8 class test {
10 return "this is test object";
15 $o = new test;
53 string(24) "Arraythis is test object"
58 string(24) "this is test objectArray"
59 string(30) "this is test objectsome string"
60 string(22) "this is test object222"
61 string(27) "this is test object2323.444"
62 string(38) "this is test objectthis is test object"
69 string(22) "222this is test object"
[all …]
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 Derror_reporting05.phpt8 class test {
17 $test = new test;
19 $test->abc = 123;
20 echo $test->bcd;
22 @$test->qwe = 123;
23 echo @$test->wer;
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-5.3/ext/standard/tests/general_functions/
H A Dparse_ini_file.phpt17 test =
22 test==
28 test=test=
34 test= \"new
49 test=hello
56 test=hello
87 test=test2
88 test=test3
89 test=test4
136 ["test"]=>
[all …]
H A Dvar_export_basic5.phpt24 "array(\"test\" => \"is_array\")" => array("test" => "is_array"),
28 "array(\"string\", \"test\")" => array("string", "test"),
29 "array('string', 'test')" => array('string', 'test')
199 'test' => 'is_array',
202 'test' => 'is_array',
251 1 => 'test',
255 1 => 'test',
259 1 => 'test',
266 1 => 'test',
270 1 => 'test',
[all …]
/PHP-5.3/ext/standard/tests/file/windows_links/
H A Dbug48746_1.phpt10 die('skip windows only test');
24 $dirname = __DIR__ . "\\mnt\\test\\directory";
26 chdir(__DIR__ . "\\mnt\\test");
36 require "$fullpath\\mnt\\test\\directory\\b.php";
38 require_once "$fullpath\\mnt\\test\\mklink_junction\\c.php";
42 unlink("$fullpath\\mnt\\test\\directory\\b.php");
43 unlink("$fullpath\\mnt\\test\\mklink_junction\\c.php");
46 rmdir(__DIR__ . "\\mnt\\test\\directory");
47 rmdir(__DIR__ . "\\mnt\\test\\mklink_junction");
48 rmdir(__DIR__ . "\\mnt\\test\\mounted_volume");
[all …]
/PHP-5.3/ext/standard/tests/class_object/
H A Dforward_static_call_003.phpt9 public static function test() {
18 public static function test() {
20 forward_static_call(array('parent', 'test'));
28 public static function test() {
30 forward_static_call(array('B', 'test'));
34 A::test();
36 B::test();
38 C::test();
H A Dforward_static_call_001.phpt9 public static function test() {
18 public static function test() {
20 forward_static_call(array('parent', 'test'));
25 forward_static_call(array('self', 'test'));
30 forward_static_call(array('A', 'test'));
38 public static function test()
41 forward_static_call(array('A', 'test'));
45 A::test();
47 B::test();
53 C::test();
/PHP-5.3/ext/filter/tests/
H A Dbug50158.phpt8 $email_address = "test=mail@example.com";
11 $email_address = "test-mail@example.com";
14 $email_address = "test+mail@example.com";
17 $email_address = "test?mail@example.com";
22 %unicode|string%(21) "test=mail@example.com"
23 %unicode|string%(21) "test-mail@example.com"
24 %unicode|string%(21) "test+mail@example.com"
25 %unicode|string%(21) "test?mail@example.com"
/PHP-5.3/
H A DREADME.TESTING6 at the end of a test run.
14 The easiest way to test your PHP build is to run "make test" from the
19 type "make test" to execute all or some test scripts saved under
23 make test
69 regarded as a test file.
97 sign '#' in test names and/or test cases are named bug12345.phpt.
105 detailed test information.
122 MYMAIL=qa-test@domain.com
131 # Set test environment
139 if test $? -gt 0
[all …]
/PHP-5.3/ext/soap/tests/
H A Dsetheaders.phpt7 $client = new SoapClient(NULL, array("location"=>"test://","uri"=>"test://",
9 $client->test();
11 $client->__setSoapHeaders(new SoapHeader("test://","HDR1"));
12 $client->test();
14 $client->test();
17 $client->test();
19 $client->__setSoapHeaders(array(new SoapHeader("test://","HDR1"),new SoapHeader("test://","HDR2")));
20 $client->test();
22 $h = array(new SoapHeader("test://","HDR0"));
23 $client->__soapCall("test", array(), null, $h);
[all …]
/PHP-5.3/ext/standard/tests/strings/
H A Dbug23894.phpt6 $test = sprintf("%04d", $a);
7 var_dump($test, bin2hex($test));
8 $test = sprintf("% 13u", $a);
9 var_dump($test, bin2hex($test));
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 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 …]
/PHP-5.3/sapi/cli/tests/
H A D007.phpt15 $filename = dirname(__FILE__).'/007.test.php';
18 /* some test script */
20 class test { /* {{{ */
21 public $var = "test"; //test var
37 var_dump(`echo "<?php /* comment */ class test {\n // comment \n function foo() {} } ?>" | $php -n …
46 class test { public $var = "test"; private $pri; function foo() { } } ?>
50 string(43) "<?php class test { function foo() {} } ?>
/PHP-5.3/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-5.3/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-5.3/ext/pdo_mysql/
H A Dconfig.m410 if test -z "$PHP_ZLIB_DIR"; then
15 if test "$PHP_PDO_MYSQL" != "no"; then
17 if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then
24 if test -r $j; then
31 if test -f $PHP_PDO_MYSQL && test -x $PHP_PDO_MYSQL ; then
34 if test -d "$PHP_PDO_MYSQL" ; then
47 if test -r $i/include/mysql/mysql.h || test -r $i/include/mysql.h ; then
62 if test -n "$PDO_MYSQL_CONFIG"; then
64 if test "x$SED" = "x"; then
75 elif test -n "$PDO_MYSQL_DIR"; then
[all …]
/PHP-5.3/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-5.3/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.3/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.3/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"]=>

Completed in 57 milliseconds

12345678910>>...162