/PHP-5.5/tests/classes/ |
H A D | property_recreate_protected.phpt | 21 $d = new D; 23 $d->unsetProtected(); 24 $d->setProtected(); 25 var_dump($d); 28 $d = new D; 29 $d->unsetProtected(); 30 $d->setP(); 31 var_dump($d); 36 var_dump($d); 40 object(D)#%d (1) { [all …]
|
/PHP-5.5/Zend/tests/ |
H A D | closure_041.phpt | 48 $d = $staticUnscoped->bindTo(null); $d(); echo "\n"; 49 $d = $nonstaticUnscoped->bindTo(null); $d(); echo "\n"; 50 $d = $staticScoped->bindTo(null); $d(); echo "\n"; 51 $d = $nonstaticScoped->bindTo(null); $d(); echo "\n"; 53 $d->bindTo($d); 56 $d = $staticUnscoped->bindTo(new A); $d(); echo "\n"; 57 $d = $nonstaticUnscoped->bindTo(new A); $d(); echo " (should be scoped to dummy class)\n"; 58 $d = $staticScoped->bindTo(new A); $d(); echo "\n"; 59 $d = $nonstaticScoped->bindTo(new A); $d(); echo "\n"; 62 $d = $nonstaticUnscoped->bindTo(new B); $d(); echo " (should be scoped to dummy class)\n"; [all …]
|
H A D | closure_044.phpt | 25 $d = $nonstaticUnscoped->bindTo(null, null); $d(); echo "\n"; 26 $d = $nonstaticScoped->bindTo(null, null); $d(); echo "\n"; 29 $d = $nonstaticUnscoped->bindTo(new A, null); $d(); echo "\n"; 30 $d = $nonstaticScoped->bindTo(new A, null); $d(); echo "\n"; 33 $d = $nonstaticUnscoped->bindTo(null, 'A'); $d(); echo "\n"; 34 $d = $nonstaticScoped->bindTo(null, 'A'); $d(); echo "\n"; 37 $d = $nonstaticUnscoped->bindTo(new A, 'A'); $d(); echo "\n"; 38 $d = $nonstaticScoped->bindTo(new A, 'A'); $d(); echo "\n";
|
H A D | settype_resource.phpt | 40 Warning: settype(): Cannot convert to resource type in %s on line %d 43 Warning: settype(): Cannot convert to resource type in %s on line %d 46 Warning: settype(): Cannot convert to resource type in %s on line %d 49 Warning: settype(): Cannot convert to resource type in %s on line %d 52 Warning: settype(): Cannot convert to resource type in %s on line %d 55 Warning: settype(): Cannot convert to resource type in %s on line %d 58 Warning: settype(): Cannot convert to resource type in %s on line %d 62 Warning: settype(): Cannot convert to resource type in %s on line %d 72 Warning: settype(): Cannot convert to resource type in %s on line %d 82 resource(%d) of type (stream) [all …]
|
H A D | nowdoc_005.phpt | 9 This is nowdoc test #s $a, $b, $c['c'], and $d->d. 14 This is nowdoc test #s $a, $b, $c['c'], and $d->d. 22 This is nowdoc test #s $a, $b, $c['c'], and $d->d. 23 This is nowdoc test #s $a, $b, $c['c'], and $d->d.
|
H A D | nowdoc_006.phpt | 9 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. 14 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. 22 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. 23 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}.
|
H A D | nowdoc_007.phpt | 9 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. 14 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. 22 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. 23 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}.
|
/PHP-5.5/ext/spl/tests/ |
H A D | dit_001_noglob.phpt | 8 $d = new DirectoryIterator('.'); 9 var_dump($d); 10 var_dump(is_string($d)); 11 preg_match('/x/', $d); 12 var_dump(is_string($d)); 16 object(DirectoryIterator)#%d (3) { 18 %s(%d) ".%c%s" 20 %s(%d) "%s"
|
H A D | dit_001.phpt | 8 $d = new DirectoryIterator('.'); 9 var_dump($d); 10 var_dump(is_string($d)); 11 preg_match('/x/', $d); 12 var_dump(is_string($d)); 16 object(DirectoryIterator)#%d (4) { 18 %s(%d) ".%c%s" 20 %s(%d) "%s"
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_map_variation9.phpt | 51 Warning: Missing argument 2 for callback2() in %s on line %d%d 53 Notice: Undefined variable: b in %s on line %d%d 55 Warning: Missing argument 2 for callback2() in %s on line %d%d 57 Notice: Undefined variable: b in %s on line %d%d 59 Warning: Missing argument 2 for callback2() in %s on line %d%d 61 Notice: Undefined variable: b in %s on line %d%d 63 Warning: Missing argument 2 for callback2() in %s on line %d%d 65 Notice: Undefined variable: b in %s on line %d%d
|
H A D | array_pad_variation1.phpt | 104 Warning: array_pad() expects parameter 1 to be array, integer given in %s on line %d 132 Warning: array_pad() expects parameter 1 to be array, double given in %s on line %d 135 Warning: array_pad() expects parameter 1 to be array, double given in %s on line %d 167 Warning: array_pad() expects parameter 1 to be array, null given in %s on line %d 170 Warning: array_pad() expects parameter 1 to be array, null given in %s on line %d 174 Warning: array_pad() expects parameter 1 to be array, null given in %s on line %d 177 Warning: array_pad() expects parameter 1 to be array, null given in %s on line %d 251 Warning: array_pad() expects parameter 1 to be array, null given in %s on line %d 254 Warning: array_pad() expects parameter 1 to be array, null given in %s on line %d 258 Warning: array_pad() expects parameter 1 to be array, null given in %s on line %d [all …]
|
H A D | rsort_variation1.phpt | 109 Warning: rsort() expects parameter 1 to be array, integer given in %s on line %d 113 Warning: rsort() expects parameter 1 to be array, integer given in %s on line %d 117 Warning: rsort() expects parameter 1 to be array, integer given in %s on line %d 262 Warning: rsort() expects parameter 1 to be array, null given in %s on line %d 266 Warning: rsort() expects parameter 1 to be array, null given in %s on line %d 270 Warning: rsort() expects parameter 1 to be array, null given in %s on line %d 274 Warning: rsort() expects parameter 1 to be array, null given in %s on line %d 279 Warning: rsort() expects parameter 1 to be array, null given in %s on line %d 283 Warning: rsort() expects parameter 1 to be array, null given in %s on line %d 287 Warning: rsort() expects parameter 1 to be array, null given in %s on line %d [all …]
|
/PHP-5.5/ext/date/lib/ |
H A D | dow.c | 53 dow = positive_mod((c1 + y1 + m1 + (y1 / 4) + d), 7); in timelib_day_of_week_ex() 62 timelib_sll timelib_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d) in timelib_day_of_week() argument 64 return timelib_day_of_week_ex(y, m, d, 0); in timelib_day_of_week() 69 return timelib_day_of_week_ex(y, m, d, 1); in timelib_iso_day_of_week() 78 timelib_sll timelib_day_of_year(timelib_sll y, timelib_sll m, timelib_sll d) in timelib_day_of_year() argument 80 return (timelib_is_leap(y) ? d_table_leap[m] : d_table_common[m]) + d - 1; in timelib_day_of_year() 94 doy = timelib_day_of_year(y, m, d) + 1; in timelib_isoweek_from_date() 99 weekday = timelib_day_of_week(y, m, d); in timelib_isoweek_from_date() 146 return day + ((w - 1) * 7) + d; in timelib_daynr_from_weeknr() 157 int timelib_valid_date(timelib_sll y, timelib_sll m, timelib_sll d) in timelib_valid_date() argument [all …]
|
/PHP-5.5/tests/lang/ |
H A D | foreachLoopObjects.002.phpt | 10 protected $d = "Original d"; 65 protected $d = "Overridden d"; 180 object(C)#%d (5) { 187 ["d":protected]=> 201 object(D)#%d (7) { 226 object(E)#%d (8) { 255 object(C)#%d (5) { 276 object(D)#%d (7) { 301 object(E)#%d (8) { 330 object(C)#%d (5) { [all …]
|
/PHP-5.5/ext/intl/tests/ |
H A D | calendar_get_getActualMaximum_Minumum_error.phpt | 32 Warning: IntlCalendar::get() expects exactly 1 parameter, 0 given in %s on line %d 34 Warning: IntlCalendar::get(): intlcal_get: bad arguments in %s on line %d 37 Warning: IntlCalendar::getActualMaximum() expects exactly 1 parameter, 0 given in %s on line %d 42 Warning: IntlCalendar::getActualMinimum() expects exactly 1 parameter, 0 given in %s on line %d 47 Warning: IntlCalendar::get(): intlcal_get: invalid field in %s on line %d 56 Warning: IntlCalendar::get() expects parameter 1 to be long, string given in %s on line %d 58 Warning: IntlCalendar::get(): intlcal_get: bad arguments in %s on line %d 71 Warning: IntlCalendar::get() expects exactly 1 parameter, 2 given in %s on line %d 73 Warning: IntlCalendar::get(): intlcal_get: bad arguments in %s on line %d 76 Warning: IntlCalendar::getActualMaximum() expects exactly 1 parameter, 2 given in %s on line %d [all …]
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | file_get_contents_variation3.phpt | 133 string(%d) "contents read" 136 string(%d) "contents read" 139 string(%d) "contents read" 142 string(%d) "contents read" 145 string(%d) "contents read" 148 string(%d) "contents read" 151 string(%d) "contents read" 170 string(%d) "contents read" 173 string(%d) "contents read" 176 string(%d) "contents read" [all …]
|
/PHP-5.5/ext/date/tests/ |
H A D | date_date_set_variation2.phpt | 116 object(DateTime)#%d (3) { 118 string(%d) "%s" 126 object(DateTime)#%d (3) { 136 object(DateTime)#%d (3) { 178 string(%d) "%s" 208 string(%d) "%s" 218 string(%d) "%s" 238 string(%d) "%s" 258 string(%d) "%s" 308 string(%d) "%s" [all …]
|
H A D | date_sunrise_variation4.phpt | 107 float(5.200%d) 112 float(5.133%d) 117 float(21.759%d) 122 float(12.698%d) 171 float(5.200%d) 176 float(5.200%d) 181 float(5.133%d) 186 float(5.200%d) 191 float(5.133%d) 196 float(5.200%d) [all …]
|
H A D | date_sunrise_variation6.phpt | 106 float(5.800%d) 111 float(6.800%d) 116 float(14.800%d) 121 float(12.800%d) 170 float(5.800%d) 175 float(5.800%d) 180 float(6.800%d) 185 float(5.800%d) 190 float(6.800%d) 195 float(5.800%d) [all …]
|
H A D | date_sunset_variation4.phpt | 107 float(0.059%d) 112 float(23.992%d) 117 float(17.259%d) 122 float(12.316%d) 171 float(0.059%d) 176 float(0.059%d) 181 float(23.992%d) 186 float(0.059%d) 196 float(0.059%d) 289 float(0.059%d) [all …]
|
H A D | date_sunset_variation6.phpt | 107 float(12.681%d) 112 float(13.681%d) 117 float(21.681%d) 122 float(19.681%d) 171 float(12.681%d) 176 float(12.681%d) 181 float(13.681%d) 186 float(12.681%d) 191 float(13.681%d) 196 float(12.681%d) [all …]
|
H A D | bug52062-64bit.phpt | 11 $d = new DateTime('@100000000000'); 12 var_dump($d->format('Y-m-d H:i:s U')); 13 var_dump($d->getTimestamp()); 15 $d->setTimestamp(100000000000); 16 var_dump($d->format('Y-m-d H:i:s U')); 17 var_dump($d->getTimestamp());
|
/PHP-5.5/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 …]
|
/PHP-5.5/ext/standard/tests/serialize/ |
H A D | bug31402.phpt | 37 object(TestY)#%d (2) { 41 object(TestX)#%d (1) { 46 &object(TestX)#%d (1) { 51 &object(TestX)#%d (1) { 57 object(TestX)#%d (1) { 62 object(TestY)#%d (2) { 66 object(TestX)#%d (1) { 71 &object(TestX)#%d (1) { 76 &object(TestX)#%d (1) { 82 object(TestX)#%d (1) {
|
/PHP-5.5/ext/mysql/tests/ |
H A D | mysql_db_name.phpt | 24 printf("[003] [%d] %s\n", mysql_errno($link), mysql_error($link)); 27 printf("[004] Empty database list? [%d] %s\n", mysql_errno($link), mysql_error($link)); 30 printf("[005] Expecting boolean/false, got %s/%s. [%d] %s\n", 34 printf("[006] Expecting boolean/false, got %s/%s. [%d] %s\n", 40 printf("[%03d] Got empty database name! [%d] %s\n", 44 printf("[%03d] Expecting unicode string! [%d] %s\n", 53 printf("[999] Expecting boolean/false, got %s/%s. [%d] %s\n", 61 …tension is deprecated and will be removed in the future: use mysqli or PDO instead in %s on line %d 63 Warning: mysql_db_name(): Unable to jump to row -1 on MySQL result index %d in %s on line %d 65 Warning: mysql_db_name(): Unable to jump to row %d on MySQL result index %d in %s on line %d [all …]
|