Home
last modified time | relevance | path

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

12345678910>>...17

/php-src/ext/gd/tests/
H A Dbug24594.phpt8 $base = imagecreate(150,150);
11 $white = imagecolorallocate($base,255,255,255);
12 $black = imagecolorallocate($base,0,0,0);
21 imagesettile($base,$tile);
22 imagerectangle($base, 9,9,139,139,$black);
23 imageline($base, 9,9,139,139,$black);
24 imagefill($base,11,12,IMG_COLOR_TILED);
26 $res = imagecolorat($base,0,10)==$black?'1':'0';
49 imagerectangle($base, 9,9,139,139,$black);
50 imageline($base, 9,9,139,139,$black);
[all …]
/php-src/tests/classes/
H A Dprivate_members.phpt6 class base
57 base::test
60 [member:base:private] => base::member
66 [member:base:private] => base::member
70 base::test
73 [member:base:private] => base::member
76 base::test
79 [member:base:private] => base::member
85 [member:base:private] => base::member
92 [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';
16 class test extends base {
40 [p2] => base:2
44 [p6:base:private] => base:6
50 [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 Dinterface_implemented.phpt14 class 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
71 is_a(derived_a, base) = yes
[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 scope derived in %s:%d
H A Dvisibility_005.phpt7 class base
21 class derived extends base
25 $o = new base;
27 echo "===base::function===\n";
29 echo "===base,foreach===\n";
45 ===base::function===
50 ===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 cannot extend final class base in %s on line %d
/php-src/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-src/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-src/ext/standard/tests/dir/
H A Dbug73877.phpt13 $base = __DIR__ . 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 = __DIR__ . 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);
35 $base = __DIR__ . DIRECTORY_SEPARATOR . "bug73971";
36 $filename = $base . DIRECTORY_SEPARATOR . str_repeat('テスト', 48);
39 rmdir($base);
/php-src/ext/ldap/tests/
H A Dconnect.inc32 function insert_dummy_data($link, $base) {
37 $link, "$base", array(
47 ldap_add($link, "o=test,$base", array(
53 ldap_add($link, "cn=userA,$base", array(
61 ldap_add($link, "cn=userB,$base", array(
74 ldap_add($link, "o=test2,$base", array(
83 function remove_dummy_data($link, $base) {
85 ldap_delete($link, "cn=userA,$base");
86 ldap_delete($link, "cn=userB,$base");
87 ldap_delete($link, "o=test,$base");
[all …]
H A Dldap_count_references_basic.phpt11 insert_dummy_data($link, $base);
12 ldap_add($link, "cn=userref,$base", array(
15 "ref" => "cn=userA,$base",
17 ldap_add($link, "cn=userref2,$base", array(
20 "ref" => "cn=userB,$base",
23 $result = ldap_search($link, "$base", "(cn=*)");
32 ldap_delete($link, "cn=userref,$base", [['oid' => LDAP_CONTROL_MANAGEDSAIT, 'iscritical' => TRUE]]);
33 ldap_delete($link, "cn=userref2,$base", [['oid' => LDAP_CONTROL_MANAGEDSAIT, 'iscritical' => TRUE]]…
34 remove_dummy_data($link, $base);
H A Dldap_next_reference_basic.phpt14 insert_dummy_data($link, $base);
15 ldap_add($link, "cn=userref,$base", array(
18 "ref" => "cn=userA,$base",
20 ldap_add($link, "cn=userref2,$base", array(
23 "ref" => "cn=userB,$base",
26 $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_basic.phpt15 insert_dummy_data($link, $base);
17 ldap_rename($link, "cn=userA,$base", "cn=userZ", "$base", true)
19 $result = ldap_search($link, "$base", "(cn=userA)", array("cn", "sn"));
20 $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_exop_passwd.phpt14 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($uri, "cn=userA,$base", $genpw, $protocol_version),
23 ldap_exop_passwd($link, "cn=userA,$base", $genpw, "newPassword"),
24 test_bind($uri, "cn=userA,$base", "newPassword", $protocol_version)
33 remove_dummy_data($link, $base);
H A Dldap_rename_ext.phpt19 insert_dummy_data($link, $base);
22 $result = ldap_rename_ext($link, "cn=userA,$base", "cn=userZ", "$base", TRUE,
33 ldap_count_entries($link, ldap_search($link, "$base", "(cn=userA)", array("cn"))),
34 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);
/php-src/ext/standard/tests/math/
H A Dpow_divisionbyzero.phpt40 Deprecated: Power of base 0 and negative exponent is deprecated in %s on line %d
43 Deprecated: Power of base 0 and negative exponent is deprecated in %s on line %d
46 Deprecated: Power of base 0 and negative exponent is deprecated in %s on line %d
49 Deprecated: Power of base 0 and negative exponent is deprecated in %s on line %d
52 Deprecated: Power of base 0 and negative exponent is deprecated in %s on line %d
55 Deprecated: Power of base 0 and negative exponent is deprecated in %s on line %d
62 Deprecated: Power of base 0 and negative exponent is deprecated in %s on line %d
65 Deprecated: Power of base 0 and negative exponent is deprecated in %s on line %d
68 Deprecated: Power of base 0 and negative exponent is deprecated in %s on line %d
71 Deprecated: Power of base 0 and negative exponent is deprecated in %s on line %d
[all …]
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";
/php-src/Zend/
H A Dzend_call_stack.h31 void *base; /* high address of the stack */ member
56 static inline void* zend_call_stack_limit(void *base, size_t size, size_t reserved_size) in zend_call_stack_limit() argument
58 if (UNEXPECTED(size > (uintptr_t)base)) { in zend_call_stack_limit()
62 base = (int8_t*)base - size; in zend_call_stack_limit()
64 if (UNEXPECTED(UINTPTR_MAX - (uintptr_t)base < reserved_size)) { in zend_call_stack_limit()
68 return (int8_t*)base + reserved_size; in zend_call_stack_limit()
H A Dzend_long.h66 # define ZEND_STRTOL(s0, s1, base) _strtoi64((s0), (s1), (base)) argument
67 # define ZEND_STRTOUL(s0, s1, base) _strtoui64((s0), (s1), (base)) argument
78 # define ZEND_STRTOL(s0, s1, base) strtoll((s0), (s1), (base)) argument
79 # define ZEND_STRTOUL(s0, s1, base) strtoull((s0), (s1), (base)) argument
85 # define ZEND_STRTOL(s0, s1, base) strtol((s0), (s1), (base)) argument
86 # define ZEND_STRTOUL(s0, s1, base) strtoul((s0), (s1), (base)) argument
H A Dzend_sort.c84 ZEND_API void zend_insert_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_… in zend_insert_sort() argument
90 zend_sort_2(base, (char *)base + siz, cmp, swp); in zend_insert_sort()
93 zend_sort_3(base, (char *)base + siz, (char *)base + siz + siz, cmp, swp); in zend_insert_sort()
98 zend_sort_4(base, (char *)base + siz, (char *)base + siz2, (char *)base + siz + siz2, cmp, swp); in zend_insert_sort()
104 …zend_sort_5(base, (char *)base + siz, (char *)base + siz2, (char *)base + siz + siz2, (char *)base in zend_insert_sort()
110 char *start = (char *)base; in zend_insert_sort()
248 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
252 zend_insert_sort(base, nmemb, siz, cmp, swp); in zend_sort()
256 char *start = (char *)base; in zend_sort()
298 base = i; in zend_sort()
/php-src/ext/standard/tests/file/
H A Dfilesize_variation2-win32.phpt17 echo "-- Creating a base dir, and checking its size --\n";
22 echo "-- Creating a file inside base dir, and checking dir & file size --\n";
30 echo "-- Creating an empty sub-dir in base-dir, and checking size of base and sub dir --\n";
32 var_dump( filesize( $file_path."/filesize_variation2")); // size of base dir
37 echo "-- Creating a file inside sub-dir, and checking size of base, subdir and file created --\n";
38 // create only the file, as base and subdir is already created
43 // size of base dir
66 -- Creating a base dir, and checking its size --
68 -- Creating a file inside base dir, and checking dir & file size --
71 -- Creating an empty sub-dir in base-dir, and checking size of base and sub dir --
[all …]

Completed in 30 milliseconds

12345678910>>...17