Home
last modified time | relevance | path

Searched refs:base (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/PHP-5.5/ext/gd/tests/
H A Dbug24594.phpt12 $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.5/tests/classes/
H A Dprivate_members.phpt8 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 Dclone_003.phpt7 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 Dctor_dtor_inheritance.phpt13 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 Dctor_name_clash.phpt5 class base {
6 function base() {
11 class derived extends base {
12 function base() {
18 $obj->base();
21 base::base
22 derived::base
H A Dinterface_implemented.phpt16 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 Dprivate_redeclare.phpt5 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 Dclass_abstract.phpt8 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 Dvisibility_005.phpt6 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 Dclass_final.phpt8 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 Dclone_005.phpt5 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 Ddestructor_inheritance.phpt7 class base {
17 class derived extends base {
27 base::__construct
28 base::__destruct
/PHP-5.5/ext/standard/tests/class_object/
H A Dis_a.phpt16 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.5/ext/reflection/tests/
H A Dstatic_properties_002.phpt6 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.5/win32/
H A Dstrtoi64.c8 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.5/ext/pcre/pcrelib/sljit/
H A DsljitUtils.c209 } base; in sljit_allocate_stack() local
242 if (!base.ptr) { in sljit_allocate_stack()
246 stack->base = base.uw; in sljit_allocate_stack()
247 stack->limit = stack->base; in sljit_allocate_stack()
248 stack->max_limit = stack->base + max_limit; in sljit_allocate_stack()
265 if (base.ptr == MAP_FAILED) { in sljit_allocate_stack()
269 stack->base = base.uw; in sljit_allocate_stack()
270 stack->limit = stack->base + limit; in sljit_allocate_stack()
271 stack->max_limit = stack->base + max_limit; in sljit_allocate_stack()
273 stack->top = stack->base; in sljit_allocate_stack()
[all …]
/PHP-5.5/ext/standard/tests/math/
H A Dlog.phpt17 // 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 Dbase_convert_basic.phpt33 ...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 Dbase_convert_variation2.phpt78 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 Dbase_convert_variation3.phpt78 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.5/ext/standard/tests/file/
H A Dfilesize_variation2-win32.phpt22 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 Dfilesize_variation2.phpt22 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.5/ext/intl/collator/
H A Dcollator_is_numeric.c128 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.5/ext/spl/examples/
H A Dclass_tree.php34 /** @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.5/ext/soap/interop/
H A Dindex.php10 $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>

Completed in 27 milliseconds

12345678910>>...13