/PHP-5.4/ext/ereg/tests/ |
H A D | 003.phpt | 2 ereg_replace single-quote test 4 <?php $a="\\'test"; 9 'test
|
/PHP-5.4/ext/reflection/tests/ |
H A D | bug61388.phpt | 6 $x[0] = 'test string 2'; 7 $x['test'] = 'test string 3'; 19 [name] => test
|
H A D | ReflectionParameter_getDeclaringFunction_basic.phpt | 8 function ReflectionParameterTest($test, $test2 = null) { 9 echo $test; 23 Parameter #0 [ <required> $test ] 32 Parameter #0 [ <required> $test ]
|
/PHP-5.4/ext/standard/tests/serialize/ |
H A D | bug21957.phpt | 5 class test 9 function test() 22 $t['two'] = new test(); 36 object(test)#1 (2) {
|
/PHP-5.4/ext/spl/tests/ |
H A D | spl_caching_iterator_constructor_flags.phpt | 12 $test = new CachingIterator($arrayIterator, 0); 13 $test = new CachingIterator($arrayIterator, 1); 14 $test = new CachingIterator($arrayIterator, 2); 15 $test = new CachingIterator($arrayIterator, 3); // this throws an exception
|
H A D | SplFileObject_fflush_basic_001.phpt | 2 SplFileObject::fflush function - basic test 6 * test a successful flush 12 * test a unsuccessful flush 31 //open an SplFileObject using the above test stream
|
/PHP-5.4/ext/mysql/tests/ |
H A D | table.inc | 11 if (!mysql_query('DROP TABLE IF EXISTS test', $link)) { 12 printf("Failed to drop old test table: [%d] %s\n", mysql_errno($link), mysql_error($link)); 16 if (!mysql_query('CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE=' . $engine, $li… 17 printf("Failed to create test table: [%d] %s\n", mysql_errno($link), mysql_error($link)); 21 if (!mysql_query("INSERT INTO test(id, label) VALUES (1, 'a'), (2, 'b'), (3, 'c'), (4, 'd'), (5, 'e…
|
/PHP-5.4/ext/phar/tests/ |
H A D | include_path.phpt | 13 $a['test/file1.php'] = 'test/file1.php 18 set_include_path('.' . PATH_SEPARATOR . 'phar://' . $fname . '/test'); 29 test/file1.php 33 …file2.php' for inclusion (include_path='%sphar://%stempmanifest1.phar.php/test') in %sinclude_path…
|
/PHP-5.4/ext/pgsql/tests/ |
H A D | README | 3 - there is a PostgreSQL account for the users running the test scripts 4 - there is database named "test" 8 'test'. 10 If you have account and database, type "createdb test" from command prompt 11 to create the database to execute the test scripts. By executing the above
|
/PHP-5.4/ext/pdo/tests/ |
H A D | pdo_001.phpt | 17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10))'); 18 $db->exec("INSERT INTO test VALUES(1, 'A')"); 19 $db->exec("INSERT INTO test VALUES(2, 'B')"); 20 $db->exec("INSERT INTO test VALUES(3, 'C')"); 22 $stmt = $db->prepare('SELECT * from test');
|
H A D | pdo_002.phpt | 17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10))'); 18 $db->exec("INSERT INTO test VALUES(1, 'A')"); 19 $db->exec("INSERT INTO test VALUES(2, 'B')"); 20 $db->exec("INSERT INTO test VALUES(3, 'C')"); 22 $stmt = $db->prepare('SELECT * from test');
|
H A D | pdo_008.phpt | 17 $db->exec('CREATE TABLE test(id CHAR(1) NOT NULL PRIMARY KEY, val VARCHAR(10))'); 18 $db->exec("INSERT INTO test VALUES('A', 'A')"); 19 $db->exec("INSERT INTO test VALUES('B', 'A')"); 20 $db->exec("INSERT INTO test VALUES('C', 'C')"); 22 $stmt = $db->prepare('SELECT val, id from test');
|
/PHP-5.4/sapi/aolserver/ |
H A D | config.m4 | 10 if test "$PHP_AOLSERVER" != "no"; then 11 if test -d "$PHP_AOLSERVER/include"; then 14 if test -z "$PHP_AOLSERVER_SRC" || test ! -d $PHP_AOLSERVER_SRC/include; then 17 if test ! -d $PHP_AOLSERVER/bin ; then
|
/PHP-5.4/ext/enchant/ |
H A D | config.m4 | 9 if test "$PHP_ENCHANT" != "no"; then 11 if test "$PHP_ENCHANT" != "yes"; then 17 if test -f $i/include/enchant/enchant.h; then 20 elif test -f $i/include/enchant.h; then 26 if test -z "$ENCHANT_DIR"; then
|
/PHP-5.4/ext/sqlite3/tests/ |
H A D | sqlite3_14_querysingle.phpt | 12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)')); 15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')")); 16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')")); 19 var_dump($db->querySingle("SELECT id FROM test WHERE id = 'a'")); 20 var_dump($db->querySingle("SELECT id, time FROM test WHERE id = 'a'", true));
|
H A D | sqlite3_29_createfunction.phpt | 2 SQLite3::createFunction - Basic test 12 var_dump($db->querySingle('SELECT strtoupper("test")')); 27 %string|unicode%(4) "test" 29 %string|unicode%(4) "test"
|
/PHP-5.4/ext/dom/tests/ |
H A D | canonicalization.phpt | 10 xmlns:fubar="http://www.example.com/ns/fubar" xmlns:test="urn::test"><contain> 41 test namespace prefix is also included. */ 45 array('test'))."\n\n"; 48 test namespace prefix is also included */ 49 echo $doc->C14N(TRUE, FALSE, NULL, array('test')); 53 …ttp://www.example.com/ns/foo" xmlns:fubar="http://www.example.com/ns/fubar" xmlns:test="urn::test"> 69 …ttp://www.example.com/ns/foo" xmlns:fubar="http://www.example.com/ns/fubar" xmlns:test="urn::test"> 94 <contain xmlns="http://www.example.com/ns/foo" xmlns:test="urn::test"><bar></bar><bar></bar></conta… 96 <contain xmlns="http://www.example.com/ns/foo" xmlns:test="urn::test">
|
/PHP-5.4/tests/security/ |
H A D | open_basedir_error_log_variation.phpt | 13 var_dump(error_log("Hello World!", DESTINATION_IS_FILE, $initdir."/test/bad/bad.txt")); 14 var_dump(error_log("Hello World!", DESTINATION_IS_FILE, $initdir."/test/bad.txt")); 16 var_dump(error_log("Hello World!", DESTINATION_IS_FILE, $initdir."/test/ok/ok.txt")); 33 Warning: error_log(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within t… 35 Warning: error_log(%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d 38 Warning: error_log(): open_basedir restriction in effect. File(%s/test/bad.txt) is not within the a… 40 Warning: error_log(%s/test/bad.txt): failed to open stream: %s in %s on line %d
|
/PHP-5.4/Zend/tests/ |
H A D | ns_006.phpt | 5 namespace test\ns1; 10 $x = "test\\ns1\\Exception"; 13 test\ns1\Exception
|
H A D | bug64966.phpt | 8 function test($func) { 14 test("strlen"); 15 test("iterator_apply"); 27 #2 %sbug64966.php(12): test('iterator_apply')
|
H A D | closure_032.phpt | 6 function test(closure $a) { 14 test($c); 51 [function] => test 69 #1 test(Closure Object ()) called at [%s:%d]
|
/PHP-5.4/ext/mysqli/tests/ |
H A D | mysqli_autocommit.phpt | 63 if (!mysqli_query($link, 'DROP TABLE IF EXISTS test')) 66 if (!mysqli_query($link, 'CREATE TABLE test(id INT) ENGINE = InnoDB')) { 70 if (!mysqli_query($link, 'INSERT INTO test(id) VALUES (1)')) 76 if (!$res = mysqli_query($link, 'SELECT COUNT(*) AS num FROM test')) 80 printf("[17] Expecting 1 row in table test, found %d rows. [%d] %s\n", 85 if (!mysqli_query($link, 'DROP TABLE IF EXISTS test')) 105 if (!mysqli_query($link, 'INSERT INTO test(id) VALUES (1)')) 111 if (!$res = mysqli_query($link, 'SELECT COUNT(*) AS num FROM test')) 118 if (!mysqli_query($link, 'INSERT INTO test(id) VALUES (1)')) 124 if (!$res = mysqli_query($link, 'SELECT COUNT(*) AS num FROM test')) [all …]
|
H A D | mysqli_autocommit_oo.phpt | 52 if (!$mysqli->query('DROP TABLE IF EXISTS test')) 55 if (!$mysqli->query('CREATE TABLE test(id INT) ENGINE = InnoDB')) { 59 if (!$mysqli->query('INSERT INTO test(id) VALUES (1)')) 65 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test')) 74 if (!$mysqli->query('DROP TABLE IF EXISTS test')) 91 if (!$mysqli->query('CREATE TABLE test(id INT) ENGINE = InnoDB')) { 95 if (!$mysqli->query('INSERT INTO test(id) VALUES (1)')) 101 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test')) 108 if (!$mysqli->query('INSERT INTO test(id) VALUES (1)')) 114 if (!$res = $mysqli->query('SELECT COUNT(*) AS num FROM test')) [all …]
|
/PHP-5.4/ext/standard/tests/filters/ |
H A D | filter_errors_user.phpt | 51 echo "test append / read / remove\n"; 92 test filtering of buffered data 97 test filtering of non buffered data 102 test filtering of buffered data 105 test filtering of non buffered data 108 test filtering of buffered data 111 test filtering of non buffered data 114 test filtering of buffered data 124 test filtering of buffered data 132 test append / read / remove [all …]
|
/PHP-5.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_last_insert_id.phpt | 24 $db->exec('DROP TABLE IF EXISTS test'); 32 $stmt = $db->query('SELECT id FROM test LIMIT 1'); 37 $db->exec("INSERT INTO test(id, col1) VALUES (100, 'a')"); 46 @$db->exec("INSERT INTO test(id, col1) VALUES (100, 'a')"); 50 $db->exec("INSERT INTO test(id, col1) VALUES (101, 'b')"); 54 $db->exec('ALTER TABLE test MODIFY col1 CHAR(10) UNIQUE'); 56 $db->exec("REPLACE INTO test(col1) VALUES ('b')"); 70 $db->exec("INSERT INTO test(col1) VALUES ('c'), ('d'), ('e')"); 79 $db->exec('LOCK TABLE test WRITE'); 94 $db->exec("INSERT INTO test(col1) VALUES ('z')"); [all …]
|