Home
last modified time | relevance | path

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

12345678910>>...15

/PHP-7.0/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-7.0/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 … name as their class will not be constructors in a future version of PHP; base has a deprecated co…
22 base::base
23 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: Uncaught Error: Call to private method base::show() from context 'derived' in %s:%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_abstract.phpt8 abstract class base {
10 echo "base\n";
14 class derived extends base {
20 $t = new base();
26 base
28 Fatal error: Uncaught Error: Cannot instantiate abstract class base in %s:%d
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
/PHP-7.0/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-7.0/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-7.0/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-7.0/ext/ldap/tests/
H A Dconnect.inc24 function insert_dummy_data($link, $base) {
29 $link, "$base", array(
39 ldap_add($link, "o=test,$base", array(
45 ldap_add($link, "cn=userA,$base", array(
53 ldap_add($link, "cn=userB,$base", array(
60 ldap_add($link, "cn=userC,cn=userB,$base", array(
68 function remove_dummy_data($link, $base) {
69 ldap_delete($link, "cn=userC,cn=userB,$base");
70 ldap_delete($link, "cn=userA,$base");
71 ldap_delete($link, "cn=userB,$base");
[all …]
H A Dldap_next_reference_basic.phpt13 insert_dummy_data($link, $base);
14 ldap_add($link, "cn=userref,$base", array(
17 "ref" => "cn=userA,$base",
19 ldap_add($link, "cn=userref2,$base", array(
22 "ref" => "cn=userB,$base",
25 $result = ldap_search($link, "$base", "(cn=*)");
39 ldap_delete($link, "cn=userref,$base");
40 ldap_delete($link, "cn=userref2,$base");
41 remove_dummy_data($link, $base);
H A Dldap_rename_basic.phpt14 insert_dummy_data($link, $base);
16 ldap_rename($link, "cn=userA,$base", "cn=userZ", "$base", true)
18 $result = ldap_search($link, "$base", "(cn=userA)", array("cn", "sn"));
19 $result = ldap_search($link, "$base", "(cn=userZ)", array("cn", "sn"));
28 ldap_rename($link, "cn=userZ,$base", "cn=userA", "$base", true);
29 remove_dummy_data($link, $base);
/PHP-7.0/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-7.0/Zend/
H A Dzend_long.h67 # define ZEND_STRTOL(s0, s1, base) _strtoi64((s0), (s1), (base)) argument
68 # define ZEND_STRTOUL(s0, s1, base) _strtoui64((s0), (s1), (base)) argument
79 # define ZEND_STRTOL(s0, s1, base) strtoll((s0), (s1), (base)) argument
80 # define ZEND_STRTOUL(s0, s1, base) strtoull((s0), (s1), (base)) argument
86 # define ZEND_STRTOL(s0, s1, base) strtol((s0), (s1), (base)) argument
87 # define ZEND_STRTOUL(s0, s1, base) strtoul((s0), (s1), (base)) argument
H A Dzend_sort.c40 begin_stack[0] = (char *) base; in zend_qsort()
41 end_stack[0] = (char *) base + ((nmemb - 1) * siz); in zend_qsort()
159 zend_sort_2(base, (char *)base + siz, cmp, swp); in zend_insert_sort()
162 zend_sort_3(base, (char *)base + siz, (char *)base + siz + siz, cmp, swp); in zend_insert_sort()
167 zend_sort_4(base, (char *)base + siz, (char *)base + siz2, (char *)base + siz + siz2, cmp, swp); in zend_insert_sort()
173 …zend_sort_5(base, (char *)base + siz, (char *)base + siz2, (char *)base + siz + siz2, (char *)base in zend_insert_sort()
179 char *start = (char *)base; in zend_insert_sort()
317 ZEND_API void zend_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_t swp) in zend_sort() argument
321 zend_insert_sort(base, nmemb, siz, cmp, swp); in zend_sort()
325 char *start = (char *)base; in zend_sort()
[all …]
/PHP-7.0/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-7.0/ext/intl/collator/
H A Dcollator_is_numeric.c128 static zend_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 % (zend_ulong)base;
189 cutoff /= (zend_ulong)base;
199 if (c >= base)
206 acc *= base;

Completed in 34 milliseconds

12345678910>>...15