/php-src/ext/zend_test/tests/ |
H A D | observer_preload.phpt | 25 Foo::test(); 38 <!-- init Foo::test() --> 39 <Foo::test> 40 </Foo::test:'foo::test'>
|
/php-src/tests/classes/ |
H A D | clone_001.phpt | 5 class test { 11 $obj = new test; 24 object(test)#1 (3) { 33 object(test)#2 (3) {
|
H A D | clone_002.phpt | 5 class test { 13 $obj = new test; 26 object(test)#1 (3) { 35 object(test)#2 (3) {
|
/php-src/sapi/phpdbg/ |
H A D | test.php | 21 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 D | abstract-methods04.phpt | 23 $test = new TraitsTest1(); 24 $test->hello(); 31 $test = new TraitsTest2(); 32 $test->hello();
|
/php-src/Zend/tests/try/ |
H A D | try_finally_024.phpt | 6 function test() { 24 test(); 32 #0 %s(%d): test() 37 #0 %s(%d): test()
|
/php-src/Zend/tests/ |
H A D | unpack_iterator_by_ref_type_check.phpt | 5 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 D | xor_002.phpt | 15 $s1 = "test"; 19 $s1 = "test"; 23 $s1 = "test long"; 27 $s ^= "test long";
|
H A D | get_class_methods_001.phpt | 15 static public function test() { 26 Y::test(); 36 string(4) "test" 50 string(4) "test"
|
H A D | 023.phpt | 8 print $$b('test'); 19 public function test() { 25 function test() { 29 $a = 'test';
|
H A D | bug39003.phpt | 11 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 D | ns_006.phpt | 5 namespace test\ns1; 10 $x = "test\\ns1\\Exception"; 14 test\ns1\Exception
|
/php-src/sapi/apache2handler/ |
H A D | config.m4 | 10 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 D | bug40431.phpt | 6 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 D | ReflectionParameter_getDeclaringFunction_basic.phpt | 8 function ReflectionParameterTest($test, $test2 = null) { 9 echo $test; 22 Parameter #0 [ <required> $test ] 31 Parameter #0 [ <required> $test ]
|
H A D | ReflectionMethod_getStaticVariables_basic_extra_bleed.phpt | 6 function test() { 7 echo "test() called\n"; 15 static $a = test(); 29 test() called
|
/php-src/ext/standard/tests/file/ |
H A D | readlink_realpath_basic2-win32.phpt | 13 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 D | setParameter_exceptions_test.phpt | 2 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 D | bug71488.phpt | 8 $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.phpt | 18 $test = new Test; 19 $test->prop = "foobar"; 20 $test->prop2 = "barfoo"; 21 var_dump($s = serialize($test));
|
/php-src/ext/mysqli/tests/ |
H A D | bug77597.phpt | 15 $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 D | open_basedir.inc | 64 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 D | sqlite3_35_stmt_readonly.phpt | 19 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 D | curl_setopt_array_basic.phpt | 21 $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 D | password_hash_error_argon2.phpt | 12 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]);
|