Home
last modified time | relevance | path

Searched refs:A (Results 51 – 75 of 1588) sorted by relevance

12345678910>>...64

/PHP-8.2/ext/standard/tests/strings/
H A Dcrypt_variation1.phpt6 $b = str_repeat("A", 124);
7 echo crypt("A", "$5$" . $b)."\n";
8 $b = str_repeat("A", 125);
9 echo crypt("A", "$5$" . $b)."\n";
10 $b = str_repeat("A", 4096);
11 echo crypt("A", "$5$" . $b)."\n";
/PHP-8.2/Zend/tests/type_declarations/intersection_types/variance/
H A Dinvalid_covariance_drop_type2.phpt6 interface A {}
10 class Test implements A, B, C {}
13 public function foo(): A&B&C {
18 /* This fails because just A&B larger than A&B&C */
20 public function foo(): A&B {
27 Fatal error: Declaration of FooChild::foo(): A&B must be compatible with Foo::foo(): A&B&C in %s on…
/PHP-8.2/Zend/tests/type_declarations/dnf_types/variance/
H A Dinvalid_covariance_drop_type1.phpt6 interface A {}
10 class Test implements A, B {}
13 public function foo(): (A&B)|X {
18 /* This fails because just A larger than A&B */
20 public function foo(): A|X {
27 Fatal error: Declaration of FooChild::foo(): A|X must be compatible with Foo::foo(): (A&B)|X in %s …
H A Dinvalid_covariance_drop_type2.phpt6 interface A {}
11 class Test implements A, B, C {}
14 public function foo(): (A&B&C)|X {
19 /* This fails because just (A&B) larger than ((A&B)&C) */
21 public function foo(): (A&B)|X {
28 Fatal error: Declaration of FooChild::foo(): (A&B)|X must be compatible with Foo::foo(): (A&B&C)|X …
/PHP-8.2/ext/reflection/tests/
H A DReflectionProperty_getDocComment_basic.phpt8 class A {
26 class B extends A {
28 /** A doc comment for $b */
30 /** A doc comment for $e */
34 foreach(array('A', 'B') as $class) {
45 ---> Doc comment for A::$a:
52 ---> Doc comment for A::$b:
56 ---> Doc comment for A::$c:
60 ---> Doc comment for A::$d:
66 ---> Doc comment for A::$e:
[all …]
H A D005.phpt14 /** Comment for class A */
15 class A
17 /** Method A::bla()
34 * Comment for A::baz()
40 $r = new ReflectionClass('A');
50 string(19) "Comment for class A"
51 string(15) "Method A::bla()"
54 string(22) "* Comment for A::baz()"
/PHP-8.2/Zend/tests/type_declarations/
H A Dtyped_properties_052.phpt7 class A {
8 public A $a1;
11 public ?A $a2;
17 $obj = new A;
21 object(A)#1 (0) {
23 uninitialized(A)
29 uninitialized(?A)
H A Dtyped_properties_039.phpt6 class A {
11 public A $foo;
14 $objs = [new A, new A];
19 $v = new A;
28 Fatal error: Uncaught TypeError: Cannot assign A to property A::$foo of type int in %s:%d
/PHP-8.2/ext/phar/tests/
H A Dbug71625.phpt14 if (file_exists('A:')) die('skip drive A: exists');
19 $phar = new Phar("A:A:.phar");
24 Fatal error: Uncaught UnexpectedValueException: Cannot create phar 'A:A:.phar', file extension (or …
26 #0 %sbug71625.php(%d): Phar->__construct('A:A:.phar')
H A Dgh14603.phpt8 PK��������eI�����������a.phpnu�W+A����������hioPK��������eI�`�����������.phar/stub.php…
22 …W+A����������hioPK��������eIl�`��������a.phpsnu�W+A����������<?php function hio(){}PK�…
23A����������PK����������eI�`���������������������8���.phar/stub.phpnu�W+A����������PK����…
/PHP-8.2/ext/pcre/tests/
H A Dpreg_filter.phpt6 $subject = array('1', 'a', '2', 'b', '3', 'A', 'B', '4');
8 $replace = array('A:$0', 'B:$0', 'C:$0');
16 string(5) "A:C:1"
20 string(3) "A:2"
24 string(3) "A:3"
26 string(3) "A:4"
/PHP-8.2/Zend/tests/type_declarations/dnf_types/redundant_types/
H A Dless_restrive_type_constraint_already_present001.phpt2 A less restrictive type constrain is part of the DNF type 001
6 interface A {}
9 function test(): (A&B)|A {}
14 Fatal error: Type A&B is redundant as it is more restrictive than type A in %s on line %d
H A Dless_restrive_type_constraint_already_present002.phpt2 A less restrictive type constrain is part of the DNF type 002
6 interface A {}
9 function test(): A|(A&B) {}
14 Fatal error: Type A&B is redundant as it is more restrictive than type A in %s on line %d
H A Dless_restrive_type_constraint_already_present003.phpt2 A less restrictive type constrain is part of the DNF type 003
6 interface A {}
10 function test(): (A&B)|(A&B&C) {}
15 Fatal error: Type A&B&C is redundant as it is more restrictive than type A&B in %s on line %d
H A Dless_restrive_type_constraint_already_present004.phpt2 A less restrictive type constrain is part of the DNF type 004
6 interface A {}
10 function test(): (A&B&C)|(A&B) {}
15 Fatal error: Type A&B&C is redundant as it is more restrictive than type A&B in %s on line %d
/PHP-8.2/sapi/cgi/tests/
H A Dbug61605.phpt11 header("A: first");
12 header("A: second", TRUE);
14 header("A: third", FALSE);
16 header_remove("A");
26 [1] => A: second
31 [1] => A: second
32 [2] => A: third
/PHP-8.2/ext/standard/tests/array/
H A Darray_chunk_variation25.phpt18 string(1) "A"
35 string(1) "A"
67 string(1) "A"
99 string(1) "A"
133 string(1) "A"
156 string(1) "A"
179 string(1) "A"
204 string(1) "A"
224 string(1) "A"
244 string(1) "A"
[all …]
/PHP-8.2/Zend/tests/
H A Dbug69676.phpt5 class A {
6 const myConst = "const in A";
10 class B extends A {
15 var_dump(A::myDynConst);
18 string(10) "const in A"
19 string(10) "const in A"
H A Dbug69676_2.phpt7 const A = 'Foo::A';
8 const B = self::A . ' and ' . self::C;
14 const A = 'Bar::A';
22 string(17) "Foo::A and Foo::C"
H A Dlsb_017.phpt5 class A {
14 class B extends A {
16 class C extends A {
18 class D extends A {
21 echo A::test(B::test(C::test(D::test())))."\n";
27 A
H A Dbug38220.phpt17 class A {
40 echo "A::__destruct()\n";
55 $obj1 = new A(1);
58 $obj2 = new A(2);
64 A Object
70 A::__destruct()
72 A Object
79 A Object
85 A::__destruct()
87 A Object
H A Daccess_modifiers_009.phpt6 class A {
8 return 'A::ma()';
12 return 'A::mp()';
16 class B1 extends A {
30 class B2 extends A {
32 var_dump(is_callable('A::ma'));
33 var_dump(is_callable('A::mp'));
34 var_dump(is_callable('B1::ma')); // protected method defined also in A
35 var_dump(is_callable('B1::mp')); // protected method defined also in A but as private
/PHP-8.2/Zend/tests/traits/
H A Dconstant_002.phpt7 public const A = 42;
11 public const A = 42;
16 public const A = 42;
32 public const A = 42;
35 echo ComposingClass1::A, PHP_EOL;
36 echo ComposingClass2::A, PHP_EOL;
37 echo ComposingClass3::A, PHP_EOL;
/PHP-8.2/tests/classes/
H A Dinheritance_007.phpt5 class A {
21 class B extends A {
33 $a = new A();
44 A::normalPrivate
45 A::finalPrivate
46 A::normalPrivate
47 A::finalPrivate
50 A::normalPrivate
51 A::finalPrivate
/PHP-8.2/ext/pdo_firebird/tests/
H A DrowCount.phpt16 $dbh->exec('CREATE TABLE testz (A VARCHAR(10))');
17 $dbh->exec("INSERT INTO testz VALUES ('A')");
18 $dbh->exec("INSERT INTO testz VALUES ('A')");
22 $query = "SELECT * FROM testz WHERE A = ?";
25 $stmt->execute(array('A'));
31 $stmt = $dbh->prepare('UPDATE testZ SET A="A" WHERE A != ?');
32 $stmt->execute(array('A'));

Completed in 25 milliseconds

12345678910>>...64