Home
last modified time | relevance | path

Searched refs:test (Results 601 – 625 of 5224) sorted by relevance

1...<<21222324252627282930>>...209

/php-src/ext/zend_test/tests/
H A Dobserver_preload.phpt25 Foo::test();
38 <!-- init Foo::test() -->
39 <Foo::test>
40 </Foo::test:'foo::test'>
/php-src/tests/classes/
H A Dclone_001.phpt5 class test {
11 $obj = new test;
24 object(test)#1 (3) {
33 object(test)#2 (3) {
H A Dclone_002.phpt5 class test {
13 $obj = new test;
26 object(test)#1 (3) {
35 object(test)#2 (3) {
/php-src/sapi/phpdbg/
H A Dtest.php21 function test($x, $y = 0) { function
40 foreach (test(1,2) as $gen)
82 $test = $obj->a; variable
85 $test -= 2;
/php-src/Zend/tests/traits/bugs/
H A Dabstract-methods04.phpt23 $test = new TraitsTest1();
24 $test->hello();
31 $test = new TraitsTest2();
32 $test->hello();
/php-src/Zend/tests/try/
H A Dtry_finally_024.phpt6 function test() {
24 test();
32 #0 %s(%d): test()
37 #0 %s(%d): test()
/php-src/Zend/tests/
H A Dunpack_iterator_by_ref_type_check.phpt5 function test(T &$a) {
11 test(...gen());
17 Warning: Cannot pass by-reference argument 1 of test() by unpacking a Traversable, passing by-value…
18 test(): Argument #1 ($a) must be of type T, null given, called in %s on line %d
H A Dxor_002.phpt15 $s1 = "test";
19 $s1 = "test";
23 $s1 = "test long";
27 $s ^= "test long";
H A Dget_class_methods_001.phpt15 static public function test() {
26 Y::test();
36 string(4) "test"
50 string(4) "test"
H A D023.phpt8 print $$b('test');
19 public function test() {
25 function test() {
29 $a = 'test';
H A Dbug39003.phpt11 function test (OtherClassName $object) { }
18 test($obj);
23 Fatal error: Uncaught TypeError: test(): Argument #1 ($object) must be of type OtherClassName, Clas…
25 #0 %s(%d): test(Object(ClassName))
H A Dns_006.phpt5 namespace test\ns1;
10 $x = "test\\ns1\\Exception";
14 test\ns1\Exception
/php-src/sapi/apache2handler/
H A Dconfig.m410 if test "$PHP_APXS2" != "no"; then
11 if test "$PHP_APXS2" = "yes"; then
14 if test "$?" != "0" && test -x /usr/sbin/apxs; then
22 if test "$?" != "0"; then
61 if test "$APACHE_VERSION" -lt 2000044; then
66 if test -z `$APXS -q SYSCONFDIR`; then
92 if test -x "$APR_CONFIG"; then
95 if test -x "$APU_CONFIG"; then
110 if test "$APACHE_VERSION" -lt 2004001; then
112 …if test "$APXS_MPM" != "prefork" && test "$APXS_MPM" != "peruser" && test "$APXS_MPM" != "itk"; th…
[all …]
/php-src/ext/reflection/tests/
H A Dbug40431.phpt6 echo "=== 1st test ===\n";
19 echo "=== 2nd test ===\n";
40 echo "=== 3rd test ===\n";
58 echo "=== 4th test ===\n";
83 === 1st test ===
97 === 2nd test ===
111 === 3rd test ===
125 === 4th test ===
H A DReflectionParameter_getDeclaringFunction_basic.phpt8 function ReflectionParameterTest($test, $test2 = null) {
9 echo $test;
22 Parameter #0 [ <required> $test ]
31 Parameter #0 [ <required> $test ]
H A DReflectionMethod_getStaticVariables_basic_extra_bleed.phpt6 function test() {
7 echo "test() called\n";
15 static $a = test();
29 test() called
/php-src/ext/standard/tests/file/
H A Dreadlink_realpath_basic2-win32.phpt13 mkdir("$file_path/readlink_realpath_basic2/home/test/", 0777, true);
15 $file_handle1 = fopen("$file_path/readlink_realpath_basic2/home/test/readlink_realpath_basic2.tmp",…
27 "$file_path/readlink_realpath_basic2//home/test//../test/./readlink_realpath_basic2.tmp",
31 "$file_path///readlink_realpath_basic2/home//..//././test//readlink_realpath_basic2.tmp",
32 "$file_path/readlink_realpath_basic2/home/../home/../test/../readlink_realpath_basic2.tmp",
49 unlink("$name_prefix/home/test/readlink_realpath_basic2.tmp");
52 rmdir("$name_prefix/home/test/");
/php-src/ext/xsl/tests/
H A DsetParameter_exceptions_test.phpt2 setParameter exceptions test
8 function test(array $options) {
25 test([
34 test([
38 test([
51 test([
65 test([
78 test([
/php-src/ext/phar/tests/
H A Dbug71488.phpt8 $newp = $p->decompress("test");
14 @unlink(__DIR__."/bug71488.test");
17 Fatal error: Uncaught BadMethodCallException: tar-based phar "%s/bug71488.test" cannot be created, …
19 #0 %s(%d): PharData->decompress('test')
/php-src/ext/standard/tests/serialize/
H A D__serialize_001.phpt18 $test = new Test;
19 $test->prop = "foobar";
20 $test->prop2 = "barfoo";
21 var_dump($s = serialize($test));
/php-src/ext/mysqli/tests/
H A Dbug77597.phpt15 $mysqli->query('DROP TABLE IF EXISTS test');
16 $mysqli->query('CREATE TABLE test (b int)');
17 $mysqli->query('INSERT INTO test VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9)');
19 $mysqli->real_query("SELECT * FROM test");
/php-src/tests/security/
H A Dopen_basedir.inc64 var_dump(mkdir($directory."/test"));
65 var_dump(mkdir($directory."/test/ok"));
66 var_dump(mkdir($directory."/test/bad"));
67 file_put_contents($directory."/test/ok/ok.txt", "Hello World!");
72 $directory = (getcwd()."/test");
85 var_dump($function($directory."/test/bad/bad.txt"));
86 var_dump($function($directory."/test/bad/../bad/bad.txt"));
99 var_dump(chdir($directory."/test/ok"));
119 var_dump(is_array($function($directory."/test/ok/ok.txt")));
133 var_dump($function($directory."/test/ok/ok.txt"));
[all …]
/php-src/ext/sqlite3/tests/
H A Dsqlite3_35_stmt_readonly.phpt19 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
22 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
23 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
26 $stmt = $db->prepare("SELECT * FROM test WHERE id = ? ORDER BY id ASC");
30 $stmt = $db->prepare("UPDATE test SET id = 'c' WHERE id = ?");
34 $stmt = $db->prepare("DELETE FROM test");
/php-src/ext/curl/tests/
H A Dcurl_setopt_array_basic.phpt21 $url = "{$host}/get.inc?test=get";
23 // Create a temporary file for the test
26 // add the test data to the file
30 // Start the test
31 echo '== Starting test curl_setopt_array($ch, $options); ==' . "\n";
53 == Starting test curl_setopt_array($ch, $options); ==
/php-src/ext/standard/tests/password/
H A Dpassword_hash_error_argon2.phpt12 password_hash('test', PASSWORD_ARGON2I, ['memory_cost' => 0]);
18 password_hash('test', PASSWORD_ARGON2I, ['time_cost' => 0]);
24 password_hash('test', PASSWORD_ARGON2I, ['threads' => 0]);
30 password_hash('test', PASSWORD_ARGON2ID, ['memory_cost' => 0]);
36 password_hash('test', PASSWORD_ARGON2ID, ['time_cost' => 0]);
42 password_hash('test', PASSWORD_ARGON2ID, ['threads' => 0]);

Completed in 30 milliseconds

1...<<21222324252627282930>>...209