/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";
|
H A D | 27large_object_oid.phpt | 7 if (version_compare("8.3", $v["client"]) > 0) die("skip - requires pg client >= 8.3\n"); 8 if (version_compare("8.3", $v["server"]) > 0) die("skip - requires pg server >= 8.3\n"); 17 echo "create LO from int\n"; 20 if (!$oid) echo ("pg_lo_create() error\n"); 21 if ($oid != 21000) echo ("pg_lo_create() wrong id\n"); 25 echo "create LO from string\n"; 28 if (!$oid) echo ("pg_lo_create() error\n"); 29 if ($oid != 21001) echo ("pg_lo_create() wrong id\n"); 33 echo "create LO using default connection\n"; 36 if (!$oid) echo ("pg_lo_create() error\n"); [all …]
|
/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/mysqli/tests/ |
H A D | mysqli_stmt_execute_stored_proc.phpt | 21 printf("[009] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 47 printf("[017] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 50 printf("[018] Results seem wrong, got %s, [%d] %s\n", 65 printf("[019] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 88 printf("[026] Results seem wrong, got %s, [%d] %s\n", 102 printf("[028] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 125 printf("[034] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 128 printf("[035] Results seem wrong, got %s, [%d] %s\n", 140 printf("[037] [%d] %s.\n", mysqli_errno($link), mysqli_error($link)); 170 printf("[045] Results seem wrong, got %s, [%d] %s\n", [all …]
|
H A D | mysqli_stmt_get_result.phpt | 25 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 28 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 33 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 58 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 75 printf("[016] NULL, got %s/%s\n", gettype($tmp), var_export($tmp, 1)); 81 printf("[017] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 114 printf("[032] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 128 printf("[036] Expecting array, got %s/%s, [%d] %s\n", 133 printf("[037] Expecting boolean/false, got %s/%s, [%d] %s\n", 137 printf("[039] [%d] [%s]\n", mysqli_errno($link), mysqli_error($link)); [all …]
|
H A D | mysqli_autocommit_oo.phpt | 32 printf("[003] [%d] %s\n", $mysqli->errno, $mysqli->error); 35 printf("[004] [%d] %s\n", $mysqli->errno, $mysqli->error); 40 printf("[005] Cannot turn off autocommit\n"); 46 printf("[007] [%d] %s\n", $mysqli->errno, $mysqli->error); 50 printf("[008] Cannot turn on autocommit\n"); 53 printf("[009] [%d] %s\n", $mysqli->errno, $mysqli->error); 60 printf("[011] [%d] %s\n", $mysqli->errno, $mysqli->error); 63 printf("[012] [%d] %s\n", $mysqli->errno, $mysqli->error); 66 printf("[013] [%d] %s\n", $mysqli->errno, $mysqli->error); 75 printf("[015] [%d] %s\n", $mysqli->errno, $mysqli->error); [all …]
|
H A D | mysqli_class_mysqli_result_interface.phpt | 22 printf("Parent class:\n"); 25 printf("\nMethods:\n"); 58 printf("Dumping list of missing methods.\n"); 66 printf("ok\n"); 69 printf("\nClass variables:\n"); 73 printf("%s\n", $var); 75 printf("\nObject variables:\n"); 78 printf("%s\n", $var); 80 printf("\nMagic, magic properties:\n"); 105 printf("mysqli_result->type = '%s'/%s\n", [all …]
|
/PHP-5.3/ext/simplexml/tests/ |
H A D | 011.phpt | 21 echo "===BAR===\n"; 23 echo "\n"; 25 echo "===BAZ===\n"; 27 echo "\n"; 29 echo "===BAZ0===\n"; 31 echo "\n"; 33 echo "===BAZ1===\n"; 35 echo "\n";
|
/PHP-5.3/ext/hash/tests/ |
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 …('md2', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
|
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 …('md4', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
|
/PHP-5.3/ext/standard/tests/array/ |
H A D | array_product_variation3.phpt | 11 echo "*** Testing array_product() : variations - negative numbers***\n"; 13 echo "\n-- Testing array_product() function with one negative number --\n"; 16 echo "\n-- Testing array_product() function with two negative numbers --\n"; 19 echo "\n-- Testing array_product() function with three negative numbers --\n"; 22 echo "\n-- Testing array_product() function with negative floats --\n"; 25 echo "\n-- Testing array_product() function with negative floats --\n";
|
H A D | range.phpt | 10 echo "\n-- Integers as Low and High --\n"; 13 echo "\n-- An array of elements from high to low --\n"; 16 echo "\n-- Numeric Strings as Low and High --\n"; 19 echo "\n-- An array of elements from high to low --\n"; 22 echo "\n-- Chars as Low and High --\n"; 25 echo "\n-- An array of elements from high to low --\n"; 28 echo "\n-- Low and High are equal --\n"; 32 echo "\n-- floats as Low and High --\n"; 39 echo "\n-- Passing step with Low and High --\n"; 46 echo "\n-- Testing basic string with step --\n"; [all …]
|
/PHP-5.3/ext/spl/tests/ |
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/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_qprint.c | 74 int s, n; in mbfl_filt_conv_qprintenc() local 115 n = (s >> 4) & 0xf; in mbfl_filt_conv_qprintenc() 116 if (n < 10) { in mbfl_filt_conv_qprintenc() 117 n += 48; /* '0' */ in mbfl_filt_conv_qprintenc() 119 n += 55; /* 'A' - 10 */ in mbfl_filt_conv_qprintenc() 122 n = s & 0xf; in mbfl_filt_conv_qprintenc() 123 if (n < 10) { in mbfl_filt_conv_qprintenc() 124 n += 48; in mbfl_filt_conv_qprintenc() 126 n += 55; in mbfl_filt_conv_qprintenc() 158 int n, m; in mbfl_filt_conv_qprintdec() local [all …]
|
/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/standard/tests/strings/ |
H A D | ltrim.phpt | 10 echo "\n *** Output for Error Conditions ***\n"; 12 echo "\n *** Output for zero argument ***\n"; 15 echo "\n *** Output for more than valid number of arguments (Valid are 1 or 2 arguments) ***\n"; 24 echo "\n *** Using heredoc string ***\n"; 29 echo "\n *** Output for Normal Behaviour ***\n"; 35 …var_dump ( ltrim("\t\n\r\0\x0B ltrim test", "\t\n\r\0\x0B") ); /* with multiple escape sequences … 41 echo "\n *** Output for scalar argument) ***\n"; 44 echo "\n *** Output for NULL argument) ***\n"; 47 echo "\nDone\n";
|
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 …d5("12345678901234567890123456789012345678901234567890123456789012345678901234567890", TRUE))."\n";
|
/PHP-5.3/ext/mbstring/libmbfl/tests/conv_encoding.tests/ |
H A D | gen_exp.c | 9 int n; member 14 size_t n; member 21 map->n = 0; in mappings_init() 37 if (n == 0) in mappings_grow() 38 n = 1; in mappings_grow() 39 else if (n <= map->n) in mappings_grow() 48 map->nalloc = n; in mappings_grow() 68 size_t n = map->n - i, a = sizeof(*map->entries) * n; in mappings_add() local 73 ++map->n; in mappings_add() 86 size_t n = (map->n - i - 1), a = sizeof(*map->entries) * n; in mappings_add() local [all …]
|
/PHP-5.3/ext/standard/tests/math/ |
H A D | cos_basic.phpt | 29 echo "Pass\n"; 32 echo "Fail\n"; 38 echo "Pass\n"; 41 echo "Fail\n"; 47 echo "Pass\n"; 50 echo "Fail\n"; 56 echo "Pass\n"; 59 echo "Fail\n"; 65 echo "Pass\n"; 68 echo "Fail\n"; [all …]
|
H A D | sin_basic.phpt | 29 echo "Pass\n"; 32 echo "Fail\n"; 38 echo "Pass\n"; 41 echo "Fail\n"; 47 echo "Pass\n"; 50 echo "Fail\n"; 56 echo "Pass\n"; 59 echo "Fail\n"; 65 echo "Pass\n"; 68 echo "Fail\n"; [all …]
|
/PHP-5.3/tests/lang/ |
H A D | passByReference_010.phpt | 11 echo "\n\n---> Pass constant assignment by reference:\n"; 15 echo "\n\n---> Pass variable assignment by reference:\n"; 21 echo "\n\n---> Pass reference assignment by reference:\n"; 27 echo "\n\n---> Pass concat assignment by reference:\n";
|
/PHP-5.3/ext/fileinfo/libmagic/ |
H A D | compress.c | 157 size_t rn = n; in swrite() 166 n -= rv; in swrite() 170 while (n > 0); in swrite() 220 n = t; in sread() 221 rn = n; in sread() 235 n -= rv; in sread() 379 return n; in uncompressgzipped() 447 if (swrite(fdin[1], old, n) != (ssize_t)n) { in uncompressbuf() 481 n = 0; in uncompressbuf() 485 n = r; in uncompressbuf() [all …]
|
/PHP-5.3/ext/standard/tests/class_object/ |
H A D | get_object_vars_basic_001.phpt | 15 echo __METHOD__ . "\n"; 27 echo __METHOD__ . "\n"; 36 echo __METHOD__ . "\n"; 43 echo __METHOD__ . "\n"; 50 echo "\n---( Global scope: )---\n"; 52 echo "\n---( Declaring class: )---\n"; 54 echo "\n---( Subclass: )---\n"; 56 echo "\n---( Superclass: )---\n"; 58 echo "\n---( Unrelated class: )---\n";
|
/PHP-5.3/ext/sysvsem/tests/ |
H A D | sysv.phpt | 17 echo "Start.\n"; 24 echo "Got semaphore $sem_id.\n"; 28 echo "Fail to aquire 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/sapi/cli/tests/ |
H A D | 021.phpt | 21 $script = "#!$php -n\n". 22 "ola\n". 23 "<?php echo 1+1,'\n';\n". 24 "?>\n". 25 "adeus\n"; 32 echo "\nDone\n";
|