/PHP-5.3/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";
|
H A D | comments.phpt | 11 echo '#ola'; //? 12 echo "\n"; 13 echo 'uhm # ah'; #ah? 14 echo "\n"; 15 echo "e este, # hein?"; 16 echo "\n";
|
/PHP-5.3/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 …]
|
H A D | dllist_001.phpt | 12 echo "Exception: ".$e->getMessage()."\n"; 17 echo "Exception: ".$e->getMessage()."\n"; 26 echo $dll->pop()."\n"; 27 echo $dll->pop()."\n"; 34 echo $dll->shift()."\n"; 35 echo $dll->shift()."\n"; 40 echo $dll->top()."\n"; 41 echo $dll->bottom()."\n"; 48 echo count($dll)."\n"; 49 echo $dll->count()."\n"; [all …]
|
/PHP-5.3/Zend/tests/ |
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 …]
|
H A D | bug31098.phpt | 19 echo isset($simpleString->wrong)?"bug\n":"ok\n"; 20 echo isset($simpleString["wrong"])?"ok\n":"bug\n"; 21 echo isset($simpleString[-1])?"bug\n":"ok\n"; 22 echo isset($simpleString[0])?"ok\n":"bug\n"; 23 echo isset($simpleString["0"])?"ok\n":"bug\n"; 24 echo isset($simpleString["16"])?"ok\n":"bug\n"; 25 echo isset($simpleString["17"])?"bug\n":"ok\n"; 27 echo $simpleString->wrong === null?"ok\n":"bug\n"; 28 echo $simpleString["wrong"] === "B"?"ok\n":"bug\n"; 29 echo $simpleString["0"] === "B"?"ok\n":"bug\n"; [all …]
|
/PHP-5.3/ext/sysvsem/tests/ |
H A D | sysv.phpt | 17 echo "Start.\n"; 21 echo "Fail to get semaphore"; 24 echo "Got semaphore $sem_id.\n"; 32 echo "Success aquire semaphore $sem_id.\n"; 36 echo "Fail to attach shared memory.\n"; 49 echo "Write var1 to shared memory.\n"; 58 echo "Write var2 to shared memory.\n"; 65 echo "Read var1=$var1.\n"; 73 echo "Read var2=$var2.\n"; 79 echo "Semaphore $sem_id released.\n"; [all …]
|
/PHP-5.3/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.3/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'…
|
H A D | md4.phpt | 8 echo hash('md4', '') . "\n"; 9 echo hash('md4', 'a') . "\n"; 10 echo hash('md4', 'abc') . "\n"; 11 echo hash('md4', 'message digest') . "\n"; 12 echo hash('md4', 'abcdefghijklmnopqrstuvwxyz') . "\n"; 13 echo hash('md4', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n"; 14 echo hash('md4', '12345678901234567890123456789012345678901234567890123456789012345678901234567890'…
|
/PHP-5.3/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.3/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.3/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.3/ext/mbstring/tests/ |
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.3/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.3/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 …]
|
/PHP-5.3/ext/dom/tests/ |
H A D | domelement.phpt | 12 echo "Error while parsing the document\n"; 17 echo "Tag Name: ".$node->tagName."\n"; 21 echo "Chapter: ".$node->getAttribute('num')."\n"; 24 echo "Chapter: ".$node->getAttribute('num')."\n"; 27 echo "Language: ".$node->getAttribute('language')."\n"; 35 echo "\n-- xml:lang --\n"; 50 echo "Language: ".$lang->value."\n"; 52 echo "\n-- Elements --\n"; 54 echo "Row Count: ".$rows->length."\n"; 63 echo "myelements Count: ".$mylen."\n"; [all …]
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | md5raw.phpt | 5 echo bin2hex(md5("", TRUE))."\n"; 6 echo bin2hex(md5("a", TRUE))."\n"; 7 echo bin2hex(md5("abc", TRUE))."\n"; 8 echo bin2hex(md5("message digest", TRUE))."\n"; 9 echo bin2hex(md5("abcdefghijklmnopqrstuvwxyz", TRUE))."\n"; 10 echo bin2hex(md5("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", TRUE))."\n"; 11 echo bin2hex(md5("12345678901234567890123456789012345678901234567890123456789012345678901234567890"…
|
H A D | printf.phpt | 59 echo "\n\nFloat Iteration $counter"; 62 echo "\n"; 78 echo "\n\nInteger Iteration $counter"; 81 echo "\n"; 96 echo "\n"; 108 echo "\n"; 119 echo "\n"; 130 echo "\n"; 141 echo "\n"; 152 echo "\n"; [all …]
|
/PHP-5.3/ext/standard/tests/math/ |
H A D | log10_basic.phpt | 19 echo "log10 $arg_0 = "; 23 echo "Pass\n"; 26 echo "Fail\n"; 29 echo "log10 $arg_1 = "; 33 echo "Pass\n"; 36 echo "Fail\n"; 39 echo "log10 $arg_2 = "; 43 echo "Pass\n"; 46 echo "Fail\n";
|