/PHP-5.3/ext/gd/tests/ |
H A D | bug24594.phpt | 12 $base = imagecreate(150,150); 15 $white = imagecolorallocate($base,255,255,255); 16 $black = imagecolorallocate($base,0,0,0); 25 imagesettile($base,$tile); 26 imagerectangle($base, 9,9,139,139,$black); 27 imageline($base, 9,9,139,139,$black); 28 imagefill($base,11,12,IMG_COLOR_TILED); 30 $res = imagecolorat($base,0,10)==$black?'1':'0'; 53 imagerectangle($base, 9,9,139,139,$black); 54 imageline($base, 9,9,139,139,$black); [all …]
|
/PHP-5.3/tests/classes/ |
H A D | private_members.phpt | 8 class base 59 base::test 63 [member:base:private] => base::member 69 [member:base:private] => base::member 72 base::test 76 [member:base:private] => base::member 78 base::test 82 [member:base:private] => base::member 88 [member:base:private] => base::member 95 [member:base:private] => base::member [all …]
|
H A D | is_a.phpt | 16 class base { 59 $t = new base(); 75 $t = new base(); 91 is_a( OBJECT:base, base) = yes 92 is_a( STRING:base, base) = no 93 is_a( STRING:base, base, true) = yes 94 is_subclass_of( OBJECT:base, base) = no 95 is_subclass_of( STRING:base, base) = no 96 is_subclass_of( STRING:base, base,false) = no 200 is_a( STRING:base, base) = no [all …]
|
H A D | clone_003.phpt | 7 class base { 8 protected $p1 = 'base:1'; 9 public $p2 = 'base:2'; 10 public $p3 = 'base:3'; 11 public $p4 = 'base:4'; 12 public $p5 = 'base:5'; 13 private $p6 = 'base:6'; 45 [p2] => base:2 46 [p6:base:private] => base:6 55 [p2] => base:2 [all …]
|
H A D | ctor_dtor_inheritance.phpt | 13 class base { 49 $t = new base(); 58 Testing class base 59 base::__construct 60 base Object 62 [name] => base 64 base::__destruct 65 base Object 67 [name] => base 75 base::__construct [all …]
|
H A D | ctor_name_clash.phpt | 5 class base { 6 function base() { 11 class derived extends base { 12 function base() { 18 $obj->base(); 21 base::base 22 derived::base
|
H A D | interface_implemented.phpt | 16 class base { 21 echo $this->_is_a('base'); 48 $t = new base(); 65 is_a(base, base) = yes 66 is_a(base, derived_a) = no 67 is_a(base, derived_b) = no 68 is_a(base, derived_c) = no 69 is_a(base, derived_d) = no 70 is_a(base, if_a) = no 71 is_a(base, if_b) = no [all …]
|
H A D | private_redeclare.phpt | 5 class base { 7 echo "base\n"; 14 $t = new base(); 17 class derived extends base { 33 base 36 base 38 Fatal error: Call to private method base::show() from context 'derived' in %s on line %d
|
H A D | class_abstract.phpt | 8 abstract class base { 10 echo "base\n"; 14 class derived extends base { 20 $t = new base(); 26 base 28 Fatal error: Cannot instantiate abstract class base in %s on line %d
|
H A D | visibility_005.phpt | 6 class base 20 class derived extends base 24 $o = new base; 26 echo "===base::function===\n"; 28 echo "===base,foreach===\n"; 44 ===base::function=== 49 ===base,foreach===
|
H A D | class_final.phpt | 8 final class base { 10 echo "base\n"; 14 $t = new base(); 16 class derived extends base { 22 Fatal error: Class derived may not inherit from final class (base) in %s on line %d
|
H A D | clone_005.phpt | 5 abstract class base { 6 public $a = 'base'; 12 class test extends base { 19 Fatal error: Cannot override final method base::__clone() in %sclone_005.php on line %d
|
H A D | destructor_inheritance.phpt | 7 class base { 17 class derived extends base { 27 base::__construct 28 base::__destruct
|
/PHP-5.3/ext/standard/tests/class_object/ |
H A D | is_a.phpt | 16 class base { 59 $t = new base(); 75 $t = new base(); 91 is_a( OBJECT:base, base) = yes 92 is_a( STRING:base, base) = no 93 is_a( STRING:base, base, true) = yes 94 is_subclass_of( OBJECT:base, base) = no 95 is_subclass_of( STRING:base, base) = no 96 is_subclass_of( STRING:base, base,false) = no 200 is_a( STRING:base, base) = no [all …]
|
/PHP-5.3/ext/reflection/tests/ |
H A D | static_properties_002.phpt | 6 class base { 14 base::$prop++; 19 class derived extends base { 32 base::show(); 35 base::inc(); 37 base::show(); 42 base::show(); 51 base::show(2) 53 base::inc() 54 base::show(3) [all …]
|
/PHP-5.3/win32/ |
H A D | strtoi64.c | 8 PHPAPI int64_t _strtoi64(const char *nptr, char **endptr, int base) in _strtoi64() argument 35 if ((base == 0 || base == 16) && c == '0' && (*s == 'x' || *s == 'X')) { in _strtoi64() 38 base = 16; in _strtoi64() 40 if (base == 0) { in _strtoi64() 41 base = c == '0' ? 8 : 10; in _strtoi64() 44 if (base < 2 || base > 36) { in _strtoi64() 92 if (c >= base) { in _strtoi64() 96 val *= base; in _strtoi64()
|
/PHP-5.3/ext/standard/tests/math/ |
H A D | log.phpt | 17 // Now test the base form of log 18 for ($base = 2; $base < 11; $base++) { 20 $x2 = (int) pow($base, log($x, $base)); 21 // base ^ log(x) should be close in range to x 25 print "base $base: $x : $x2\n";
|
H A D | base_convert_basic.phpt | 33 ...from base is 2 34 ......to base is 2 45 ......to base is 8 56 ......to base is 10 67 ......to base is 16 78 ......to base is 36 90 ...from base is 8 91 ......to base is 2 102 ......to base is 8 147 ...from base is 10 [all …]
|
H A D | base_convert_variation2.phpt | 78 Warning: base_convert(): Invalid `from base' (0) in %s on line %d 83 Warning: base_convert(): Invalid `from base' (1) in %s on line %d 88 Warning: base_convert(): Invalid `from base' (-1) in %s on line %d 116 Warning: base_convert(): Invalid `from base' (0) in %s on line %d 121 Warning: base_convert(): Invalid `from base' (0) in %s on line %d 126 Warning: base_convert(): Invalid `from base' (0) in %s on line %d 131 Warning: base_convert(): Invalid `from base' (0) in %s on line %d 136 Warning: base_convert(): Invalid `from base' (1) in %s on line %d 141 Warning: base_convert(): Invalid `from base' (0) in %s on line %d 146 Warning: base_convert(): Invalid `from base' (1) in %s on line %d [all …]
|
H A D | base_convert_variation3.phpt | 78 Warning: base_convert(): Invalid `to base' (0) in %s on line %d 83 Warning: base_convert(): Invalid `to base' (1) in %s on line %d 88 Warning: base_convert(): Invalid `to base' (-1) in %s on line %d 116 Warning: base_convert(): Invalid `to base' (0) in %s on line %d 121 Warning: base_convert(): Invalid `to base' (0) in %s on line %d 126 Warning: base_convert(): Invalid `to base' (0) in %s on line %d 131 Warning: base_convert(): Invalid `to base' (0) in %s on line %d 136 Warning: base_convert(): Invalid `to base' (1) in %s on line %d 141 Warning: base_convert(): Invalid `to base' (0) in %s on line %d 146 Warning: base_convert(): Invalid `to base' (1) in %s on line %d [all …]
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | filesize_variation2-win32.phpt | 22 echo "-- Creating a base dir, and checking its size --\n"; 27 echo "-- Creating a file inside base dir, and checking dir & file size --\n"; 35 echo "-- Creating an empty sub-dir in base-dir, and checking size of base and sub dir --\n"; 37 var_dump( filesize( $file_path."/filesize_variation2")); // size of base dir 42 echo "-- Creating a file inside sub-dir, and checking size of base, subdir and file created --\n"; 43 // create only the file, as base and subdir is already created 48 // size of base dir 71 -- Creating a base dir, and checking its size -- 73 -- Creating a file inside base dir, and checking dir & file size -- 76 -- Creating an empty sub-dir in base-dir, and checking size of base and sub dir -- [all …]
|
H A D | filesize_variation2.phpt | 22 echo "-- Creating a base dir, and checking its size --\n"; 27 echo "-- Creating a file inside base dir, and checking dir & file size --\n"; 35 echo "-- Creating an empty sub-dir in base-dir, and checking size of base and sub dir --\n"; 37 var_dump( filesize( $file_path."/filesize_variation2")); // size of base dir 42 echo "-- Creating a file inside sub-dir, and checking size of base, subdir and file created --\n"; 43 // create only the file, as base and subdir is already created 48 // size of base dir 71 -- Creating a base dir, and checking its size -- 73 -- Creating a file inside base dir, and checking dir & file size -- 76 -- Creating an empty sub-dir in base-dir, and checking size of base and sub dir -- [all …]
|
/PHP-5.3/ext/intl/collator/ |
H A D | collator_is_numeric.c | 128 static long collator_u_strtol(nptr, endptr, base) in collator_u_strtol() argument 131 register int base; 160 if ((base == 0 || base == 16) && 165 base = 16; 167 if (base == 0) 168 base = (c == 0x30 /*'0'*/) ? 8 : 10; 188 cutlim = cutoff % (unsigned long)base; 189 cutoff /= (unsigned long)base; 199 if (c >= base) 206 acc *= base;
|
/PHP-5.3/ext/spl/examples/ |
H A D | class_tree.php | 34 /** @param base base class to collect sub classes for 37 function __construct($base, $check_interfaces = false) argument 42 if (strcasecmp($parent, $base) == 0) 54 if (strcasecmp($iname, $base) == 0) 70 if (strcasecmp($iname, $base) == 0)
|
/PHP-5.3/ext/soap/interop/ |
H A D | index.php | 10 $base = (isset($_SERVER['HTTPS'])?"https://":"http://").$server.dirname($_SERVER['PHP_SELF'])."/int… variable 23 Base WSDL: <a href="<?php echo $base ?>"><?php echo $base ?></a><br>
|