/PHP-5.4/Zend/tests/ |
H A D | closure_044.phpt | 20 echo "Before binding", "\n"; 21 $nonstaticUnscoped(); echo "\n"; 22 $nonstaticScoped(); echo "\n"; 24 echo "After binding, null scope, no instance", "\n"; 25 $d = $nonstaticUnscoped->bindTo(null, null); $d(); echo "\n"; 26 $d = $nonstaticScoped->bindTo(null, null); $d(); echo "\n"; 28 echo "After binding, null scope, with instance", "\n"; 32 echo "After binding, with scope, no instance", "\n"; 34 $d = $nonstaticScoped->bindTo(null, 'A'); $d(); echo "\n"; 36 echo "After binding, with scope, with instance", "\n"; [all …]
|
H A D | ns_058.phpt | 16 echo "class ok\n"; 34 echo namespace\C; 35 echo namespace\foo(); 36 echo namespace\foo::C; 37 echo namespace\foo::C2; 38 echo namespace\foo::$var; 39 echo namespace\foo::bar(); 40 echo namespace\f1(); 41 echo namespace\f2(); 42 echo namespace\f3(new namespace\foo()); [all …]
|
H A D | bug32290.phpt | 12 echo __METHOD__ . "($i)\n"; 18 echo __METHOD__ . "($i)\n"; 24 echo __METHOD__ . "($i)\n"; 30 echo __METHOD__ . "($i)\n"; 36 echo __METHOD__ . "($i)\n"; 45 echo __METHOD__ . "($i)\n"; 85 echo "===A===\n"; 87 echo "\n===B===\n"; 89 echo "\n===C===\n"; 91 echo "\n===D===\n"; [all …]
|
H A D | ns_057.phpt | 18 echo "class ok\n"; 36 echo namespace\C; 37 echo namespace\foo(); 38 echo namespace\foo::C; 39 echo namespace\foo::C2; 40 echo namespace\foo::$var; 41 echo namespace\foo::bar(); 42 echo namespace\f1(); 43 echo namespace\f2(); 44 echo namespace\f3(new namespace\foo()); [all …]
|
/PHP-5.4/ext/standard/tests/class_object/ |
H A D | forward_static_call_001.phpt | 10 echo static::NAME, "\n"; 19 echo self::NAME, "\n"; 24 echo self::NAME, "\n"; 29 echo self::NAME, "\n"; 40 echo self::NAME, "\n"; 46 echo "-\n"; 48 echo "-\n"; 50 echo "-\n"; 52 echo "-\n"; 54 echo "-\n"; [all …]
|
/PHP-5.4/ext/standard/tests/general_functions/ |
H A D | 007.phpt | 9 echo test(""); 10 echo test("a"); 11 echo test("abc"); 12 echo test("message digest"); 13 echo test("abcdefghijklmnopqrstuvwxyz"); 14 echo test("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"); 15 echo test("12345678901234567890123456789012345678901234567890123456789012345678901234567890");
|
/PHP-5.4/ext/phar/tests/tar/ |
H A D | phar_stub.phpt | 23 echo $phar->getStub(); 29 echo $phar->getStub(); 42 echo $phar->getStub(); 47 echo file_get_contents($fname3) . "\n"; 54 echo $phar->getStub(); 58 echo $phar->getStub(); 69 <?php echo "first stub\n"; __HALT_COMPILER(); ?> 70 <?php echo "second stub\n"; __HALT_COMPILER(); ?> 71 <?php echo "third stub\n"; __HALT_COMPILER(); ?> 73 <?php echo "third stub\n"; __HALT_COMPILER(); ?> [all …]
|
/PHP-5.4/ext/phar/tests/zip/ |
H A D | phar_stub.phpt | 23 echo $phar->getStub(); 29 echo $phar->getStub(); 42 echo $phar->getStub(); 47 echo file_get_contents($fname3) . "\n"; 54 echo $phar->getStub(); 58 echo $phar->getStub(); 69 <?php echo "first stub\n"; __HALT_COMPILER(); ?> 70 <?php echo "second stub\n"; __HALT_COMPILER(); ?> 71 <?php echo "third stub\n"; __HALT_COMPILER(); ?> 73 <?php echo "third stub\n"; __HALT_COMPILER(); ?> [all …]
|
/PHP-5.4/ext/gd/tests/ |
H A D | jpeg2png.phpt | 20 echo "PNG to JPEG conversion: "; 21 …echo imagejpeg(imagecreatefrompng($cwd . "/conv_test.png"), $cwd . "/test_jpeg.jpeg") ? 'ok' : 'fa… 22 echo "\n"; 24 echo "Generated JPEG to PNG conversion: "; 25 …echo imagepng(imagecreatefromjpeg($cwd . "/test_jpeg.jpeg"), $cwd . "/test_jpng.png") ? 'ok' : 'fa… 26 echo "\n"; 28 echo "JPEG to PNG conversion: "; 29 …echo imagepng(imagecreatefromjpeg($cwd . "/conv_test.jpeg"), $cwd . "/test_png.png") ? 'ok' : 'fai… 30 echo "\n"; 32 echo "Generated PNG to JPEG conversion: "; [all …]
|
/PHP-5.4/tests/output/ |
H A D | ob_012.phpt | 5 echo 0; 10 echo 1; 12 echo 2; 14 echo 3; 17 echo 4; 19 echo $ob;
|
/PHP-5.4/ext/mbstring/tests/ |
H A D | mb_ereg-compat-02.phpt | 12 echo mb_ereg(".*(is).*(is).*",$a,$registers); 13 echo "\n"; 14 echo $registers[0]; 15 echo "\n"; 16 echo $registers[1]; 17 echo "\n"; 18 echo $registers[2]; 19 echo "\n";
|
H A D | mb_preferred_mime_name.phpt | 15 echo "$str\n"; 18 echo "$str\n"; 21 echo "$str\n"; 24 echo "$str\n"; 27 echo "$str\n"; 30 echo "$str\n"; 33 echo "$str\n"; 36 echo "$str\n"; 39 echo "$str\n"; 41 echo "== INVALID PARAMETER ==\n";
|
/PHP-5.4/tests/lang/ |
H A D | 021.phpt | 8 echo "i=$i\n"; 12 echo "In branch 0\n"; 15 echo "In branch 1\n"; 18 echo "In branch 2\n"; 21 echo "In branch 3\n"; 24 echo "In branch 4\n"; 27 echo "In default\n"; 31 echo "hi\n";
|
/PHP-5.4/ext/spl/tests/ |
H A D | iterator_025.phpt | 10 echo __METHOD__ . "()\n"; 15 echo __METHOD__ . "()\n"; 23 foreach($it as $v) echo "$v\n"; 25 echo "===MORE===\n"; 27 foreach($it as $v) echo "$v\n"; 29 echo "===MORE===\n"; 32 foreach($it as $v) echo "$v\n"; 35 echo "===MANUAL===\n"; 40 echo $it->current() . "\n"; 47 echo $it->current() . "\n";
|
H A D | bug54384.phpt | 11 echo "exception (expected)\n"; 15 echo "IteratorIterator... "; 24 echo "FilterIterator... "; 44 echo "ParentIterator... "; 53 echo "LimitIterator... "; 62 echo "CachingIterator... "; 89 echo "RegexIterator... "; 107 echo "GlobIterator... "; 116 echo "SplFileObject... "; 141 echo $a,"\n"; [all …]
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | basename_bug66395_variation2-win32.phpt | 7 echo basename("y:") . "\n"; 8 echo basename("y:/") . "\n"; 9 echo basename("notdriveletter:file.txt") . "\n"; 10 echo basename("a:\\b:c:d:hello.txt\\hcd:c.txt") . "\n"; 11 echo basename("a:b:c:d:hello.txt\\d:some.txt") . "\n"; 12 echo basename("a:b:c:d:hello\world\a.bmp\c:d:e:f.txt") . "\n"; 15 echo basename("a:\\b:/c:d:hello\\world:somestream") . "\n"; 16 echo basename("a:\\b:\\c:d:hello\\world:some.stream") . "\n"; 18 echo basename("x:y:z:hello\world:my.stream:\$DATA") . "\n"; 19 echo basename("a:\\b:\\c:d:hello\\world:c:\$DATA") . "\n"; [all …]
|
/PHP-5.4/ext/dba/tests/ |
H A D | dba015.phpt | 14 echo "database handler: $handler\n"; 16 echo "Test 1\n"; 19 echo dba_fetch("key1", $db_file1), "\n"; 22 echo "Test 2\n"; 25 echo "resources are the same\n"; 27 echo "resources are different\n"; 33 echo dba_fetch("key1", $db_file2), "\n"; 34 echo dba_fetch("key2", $db_file2), "\n"; 38 echo dba_fetch("key1", $db_file1), "\n"; 39 echo dba_fetch("key2", $db_file1), "\n"; [all …]
|
H A D | dba_db4_018.phpt | 14 echo "database handler: $handler\n"; 16 echo "Test 1\n"; 19 echo dba_fetch("key1", $db_file1), "\n"; 22 echo "Test 2\n"; 25 echo "resources are the same\n"; 27 echo "resources are different\n"; 33 echo dba_fetch("key1", $db_file2), "\n"; 34 echo dba_fetch("key2", $db_file2), "\n"; 38 echo dba_fetch("key1", $db_file1), "\n"; 39 echo dba_fetch("key2", $db_file1), "\n"; [all …]
|
/PHP-5.4/ext/hash/tests/ |
H A D | adler32.phpt | 7 echo hash('adler32', ''), "\n"; 8 echo hash('adler32', 'a'), "\n"; 9 echo hash('adler32', 'abc'), "\n"; 10 echo hash('adler32', 'message digest'), "\n"; 11 echo hash('adler32', 'abcdefghijklmnopqrstuvwxyz'), "\n"; 12 echo hash('adler32', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'), "\n"; 13 echo hash('adler32', '12345678901234567890123456789012345678901234567890123456789012345678901234567…
|
H A D | md2.phpt | 7 echo hash('md2', '') . "\n"; 8 echo hash('md2', 'a') . "\n"; 9 echo hash('md2', 'abc') . "\n"; 10 echo hash('md2', 'message digest') . "\n"; 11 echo hash('md2', 'abcdefghijklmnopqrstuvwxyz') . "\n"; 12 echo hash('md2', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n"; 13 echo hash('md2', '12345678901234567890123456789012345678901234567890123456789012345678901234567890'…
|
/PHP-5.4/ext/calendar/tests/ |
H A D | jdtofrench.phpt | 7 echo jdtofrench(0). "\n"; 8 echo jdtofrench(2375840). "\n"; 9 echo jdtofrench(2375850). "\n"; 10 echo jdtofrench(2375940). "\n"; 11 echo jdtofrench(2376345). "\n"; 12 echo jdtofrench(2385940). "\n";
|
/PHP-5.4/ext/phar/tests/ |
H A D | phar_oo_008.phpt | 19 echo "===1===\n"; 22 echo "$k=>$v\n"; 27 echo "===2===\n"; 30 echo "$k=>$v\n"; 44 echo "===3===\n"; 50 echo "===4===\n"; 58 echo "===5===\n"; 61 echo "$k=>" . join('|',$d) . "\n"; 68 echo __METHOD__ . "\n"; 76 echo "===6===\n"; [all …]
|
/PHP-5.4/ext/pgsql/tests/ |
H A D | 02connection.phpt | 16 echo "pg_connection_status() error\n"; 20 echo "pg_connection_reset() error\n"; 24 echo "pg_connection_busy() error\n"; 29 echo "pg_transaction_status() error\n"; 34 echo "pg_host() error\n"; 38 echo "pg_dbname() error\n"; 42 echo "pg_port() error\n"; 46 echo "pg_tty() error\n"; 50 echo "pg_options() error\n";
|
/PHP-5.4/tests/classes/ |
H A D | inheritance.phpt | 12 echo "This is class foo\n"; 13 echo "a = ".$this->a."\n"; 14 echo "b = ".$this->b."\n"; 24 echo "This is class bar\n"; 25 echo "a = ".$this->a."\n"; 26 echo "b = ".$this->b."\n"; 27 echo "c = ".$this->c."\n"; 36 echo $foo1->mul()."\n"; 38 echo "-----\n"; 45 echo $bar1->mul()."\n";
|
/PHP-5.4/ext/reflection/tests/ |
H A D | ReflectionMethod_constructor_basic.phpt | 8 echo "In " . __METHOD__ . "\n"; 12 echo "New-style constructor:\n"; 18 echo "\nInherited new-style constructor\n"; 24 echo "In " . __METHOD__ . "\n"; 27 echo "\nOld-style constructor:\n"; 39 echo "In " . __METHOD__ . "\n"; 42 echo "\nNot a constructor:\n"; 54 echo "In " . __METHOD__ . "\n"; 61 echo "\nOld-style constructor:\n"; 65 echo "\nRedefined constructor:\n"; [all …]
|