Home
last modified time | relevance | path

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

12345678910>>...16

/PHP-7.3/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.3/tests/classes/
H A Dprivate_members.phpt6 class base
57 base::test
61 [member:base:private] => base::member
67 [member:base:private] => base::member
70 base::test
74 [member:base:private] => base::member
76 base::test
80 [member:base:private] => base::member
86 [member:base:private] => base::member
93 [member:base:private] => base::member
[all …]
H A Dclone_003.phpt5 class base {
6 protected $p1 = 'base:1';
7 public $p2 = 'base:2';
8 public $p3 = 'base:3';
9 public $p4 = 'base:4';
10 public $p5 = 'base:5';
11 private $p6 = 'base:6';
43 [p2] => base:2
44 [p6:base:private] => base:6
53 [p2] => base:2
[all …]
H A Dctor_dtor_inheritance.phpt11 class base {
47 $t = new base();
56 Testing class base
57 base::__construct
58 base Object
60 [name] => base
62 base::__destruct
63 base Object
65 [name] => base
73 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.phpt14 class base {
19 echo $this->_is_a('base');
46 $t = new base();
63 is_a(base, base) = yes
64 is_a(base, derived_a) = no
65 is_a(base, derived_b) = no
66 is_a(base, derived_c) = no
67 is_a(base, derived_d) = no
68 is_a(base, if_a) = no
69 is_a(base, if_b) = no
[all …]
H A Dclass_abstract.phpt6 abstract class base {
8 echo "base\n";
12 class derived extends base {
18 $t = new base();
24 base
26 Fatal error: Uncaught Error: Cannot instantiate abstract class base in %s:%d
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_final.phpt6 final class base {
8 echo "base\n";
12 $t = new base();
14 class derived extends base {
20 Fatal error: Class derived may not inherit from final class (base) in %s on line %d
/PHP-7.3/ext/standard/tests/class_object/
H A Dis_a.phpt14 class base {
57 $t = new base();
70 $t = new base();
86 is_a( OBJECT:base, base) = yes
87 is_a( STRING:base, base) = no
88 is_a( STRING:base, base, true) = yes
89 is_subclass_of( OBJECT:base, base) = no
90 is_subclass_of( STRING:base, base) = no
91 is_subclass_of( STRING:base, base,false) = no
195 is_a( STRING:base, base) = no
[all …]
/PHP-7.3/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.3/ext/standard/tests/dir/
H A Dbug73877.phpt13 $base = dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug73877";
14 $dir0 = $base . DIRECTORY_SEPARATOR . "bug73877";
15 $dir1 = $base . DIRECTORY_SEPARATOR . "Серёжка";
16 $junk0 = $base . DIRECTORY_SEPARATOR . "Серёжка2";
18 mkdir($base);
34 $base = dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug73877";
35 $dir0 = $base . DIRECTORY_SEPARATOR . "bug73877";
36 $dir1 = $base . DIRECTORY_SEPARATOR . "Серёжка";
37 $junk0 = $base . DIRECTORY_SEPARATOR . "Серёжка2";
42 rmdir($base);
H A Ddir_bug73971.phpt11 $base = __DIR__ . DIRECTORY_SEPARATOR . "bug73971";
12 $filename = $base . DIRECTORY_SEPARATOR . str_repeat('テスト', 48); // 144 glyph here, less than 256
14 mkdir($base);
20 $d = dir($base);
27 $dir = new DirectoryIterator($base);
36 $base = __DIR__ . DIRECTORY_SEPARATOR . "bug73971";
37 $filename = $base . DIRECTORY_SEPARATOR . str_repeat('テスト', 48);
40 rmdir($base);
/PHP-7.3/ext/ldap/tests/
H A Dconnect.inc30 function insert_dummy_data($link, $base) {
35 $link, "$base", array(
45 ldap_add($link, "o=test,$base", array(
51 ldap_add($link, "cn=userA,$base", array(
59 ldap_add($link, "cn=userB,$base", array(
72 ldap_add($link, "o=test2,$base", array(
81 function remove_dummy_data($link, $base) {
83 ldap_delete($link, "cn=userA,$base");
84 ldap_delete($link, "cn=userB,$base");
85 ldap_delete($link, "o=test,$base");
[all …]
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);
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=*)");
38 ldap_delete($link, "cn=userref,$base", [['oid' => LDAP_CONTROL_MANAGEDSAIT, 'iscritical' => TRUE]]);
39 ldap_delete($link, "cn=userref2,$base", [['oid' => LDAP_CONTROL_MANAGEDSAIT, 'iscritical' => TRUE]]…
40 remove_dummy_data($link, $base);
H A Dldap_rename_ext.phpt18 insert_dummy_data($link, $base);
21 $result = ldap_rename_ext($link, "cn=userA,$base", "cn=userZ", "$base", TRUE,
32 ldap_count_entries($link, ldap_search($link, "$base", "(cn=userA)", array("cn"))),
33 ldap_count_entries($link, ldap_search($link, "$base", "(cn=userZ)", array("cn")))
42 ldap_rename($link, "cn=userZ,$base", "cn=userA", "$base", true);
43 remove_dummy_data($link, $base);
H A Dldap_exop_passwd.phpt13 insert_dummy_data($link, $base);
19 $genpw = ldap_exop_passwd($link, "cn=userA,$base", "oops", "", $ctrls),
21 $genpw = ldap_exop_passwd($link, "cn=userA,$base"),
22 test_bind($host, $port, "cn=userA,$base", $genpw, $protocol_version),
23 ldap_exop_passwd($link, "cn=userA,$base", $genpw, "newPassword"),
24 test_bind($host, $port, "cn=userA,$base", "newPassword", $protocol_version)
34 remove_dummy_data($link, $base);
/PHP-7.3/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.phpt32 ...from base is 2
33 ......to base is 2
44 ......to base is 8
55 ......to base is 10
66 ......to base is 16
77 ......to base is 36
89 ...from base is 8
90 ......to base is 2
101 ......to base is 8
146 ...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.3/Zend/
H A Dzend_long.h65 # define ZEND_STRTOL(s0, s1, base) _strtoi64((s0), (s1), (base)) argument
66 # define ZEND_STRTOUL(s0, s1, base) _strtoui64((s0), (s1), (base)) argument
77 # define ZEND_STRTOL(s0, s1, base) strtoll((s0), (s1), (base)) argument
78 # define ZEND_STRTOUL(s0, s1, base) strtoull((s0), (s1), (base)) argument
84 # define ZEND_STRTOL(s0, s1, base) strtol((s0), (s1), (base)) argument
85 # define ZEND_STRTOUL(s0, s1, base) strtoul((s0), (s1), (base)) argument
H A Dzend_sort.c38 begin_stack[0] = (char *) base; in zend_qsort()
39 end_stack[0] = (char *) base + ((nmemb - 1) * siz); in zend_qsort()
157 zend_sort_2(base, (char *)base + siz, cmp, swp); in zend_insert_sort()
160 zend_sort_3(base, (char *)base + siz, (char *)base + siz + siz, cmp, swp); in zend_insert_sort()
165 zend_sort_4(base, (char *)base + siz, (char *)base + siz2, (char *)base + siz + siz2, cmp, swp); in zend_insert_sort()
171 …zend_sort_5(base, (char *)base + siz, (char *)base + siz2, (char *)base + siz + siz2, (char *)base in zend_insert_sort()
177 char *start = (char *)base; in zend_insert_sort()
315 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
319 zend_insert_sort(base, nmemb, siz, cmp, swp); in zend_sort()
323 char *start = (char *)base; in zend_sort()
[all …]

Completed in 28 milliseconds

12345678910>>...16