Skip to content

Commit be75a57

Browse files
committed
chore: ./scripts/dev/bless_tests.php .
Some hand-edits were needed for some files: - Zend/tests/bug54268.phpt - Zend/tests/generators/gh9801.phpt - Zend/tests/new_oom.phpt
1 parent 320db3b commit be75a57

File tree

964 files changed

+2194
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

964 files changed

+2194
-7
lines changed

Zend/tests/030.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ $test->bar();
3232
?>
3333
--EXPECTF--
3434
Fatal error: Cannot re-assign $this in %s030.php on line 11
35+
Stack trace:
36+
#0 {main}

Zend/tests/031.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ test($arr[]);
99
?>
1010
--EXPECTF--
1111
Fatal error: Cannot use [] for reading in %s on line %d
12+
Stack trace:
13+
#0 {main}

Zend/tests/034.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ switch (1) {
2424
?>
2525
--EXPECTF--
2626
Fatal error: Switch statements may only contain one default clause in %s on line 13
27+
Stack trace:
28+
#0 {main}

Zend/tests/abstract_implicit.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ class NotAbstract {
1717
?>
1818
--EXPECTF--
1919
Fatal error: Class NotAbstract declares abstract method bar() and must therefore be declared abstract in %s on line %d
20+
Stack trace:
21+
#0 {main}

Zend/tests/abstract_inheritance_003.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ echo "DONE";
1010
?>
1111
--EXPECTF--
1212
Fatal error: Declaration of B::bar($x) must be compatible with A::bar($x, $y = 0) in %s
13+
Stack trace:
14+
#0 {main}

Zend/tests/allow_dynamic_properties_on_enum.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ enum Test {}
99
?>
1010
--EXPECTF--
1111
Fatal error: Cannot apply #[AllowDynamicProperties] to enum Test in %s on line %d
12+
Stack trace:
13+
#0 {main}

Zend/tests/allow_dynamic_properties_on_interface.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ interface Test {}
99
?>
1010
--EXPECTF--
1111
Fatal error: Cannot apply #[AllowDynamicProperties] to interface Test in %s on line %d
12+
Stack trace:
13+
#0 {main}

Zend/tests/allow_dynamic_properties_on_trait.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ trait Test {}
99
?>
1010
--EXPECTF--
1111
Fatal error: Cannot apply #[AllowDynamicProperties] to trait Test in %s on line %d
12+
Stack trace:
13+
#0 {main}

Zend/tests/anon/gh15994.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ $o = new class extends ParentClass {};
1111
?>
1212
--EXPECTF--
1313
Fatal error: Class ParentClass@anonymous must implement 1 abstract method (ParentClass::f) in %sgh15994.php on line 7
14+
Stack trace:
15+
#0 {main}

Zend/tests/anon/gh16067.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ $c = new class {
99
?>
1010
--EXPECTF--
1111
Fatal error: Anonymous class method f() must not be abstract in %s on line 4
12+
Stack trace:
13+
#0 {main}

Zend/tests/arg_unpack/positional_arg_after_unpack_error.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ var_dump(...[1, 2, 3], 4);
88
?>
99
--EXPECTF--
1010
Fatal error: Cannot use positional argument after argument unpacking in %s on line %d
11+
Stack trace:
12+
#0 {main}

Zend/tests/argument_restriction_001.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ class Sub extends Base {
1414
?>
1515
--EXPECTF--
1616
Fatal error: Declaration of & Sub::test() must be compatible with & Base::test($foo, array $bar, $option = null, $extra = 'llllllllll...') in %s on line %d
17+
Stack trace:
18+
#0 {main}

Zend/tests/argument_restriction_002.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ class Sub extends Base {
1414
?>
1515
--EXPECTF--
1616
Fatal error: Declaration of Sub::test($foo, array &$bar) must be compatible with Base::test($foo, array &$bar, $option = null, $extra = 3.1415926535898) in %s on line %d
17+
Stack trace:
18+
#0 {main}

Zend/tests/argument_restriction_003.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ class Sub extends Base {
1717
?>
1818
--EXPECTF--
1919
Fatal error: Declaration of Sub::test() must be compatible with Base::test(Foo $foo, array $bar, $option = null, $extra = 'llllllllll...') in %s on line %d
20+
Stack trace:
21+
#0 {main}

Zend/tests/argument_restriction_005.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ class Sub implements ArrayAccess {
99
?>
1010
--EXPECTF--
1111
Fatal error: Declaration of Sub::offsetSet(): void must be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void in %sargument_restriction_005.php on line %d
12+
Stack trace:
13+
#0 {main}

Zend/tests/argument_restriction_006.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ class Sub extends Base {
1414
?>
1515
--EXPECTF--
1616
Fatal error: Declaration of Sub::test($foo, $extra) must be compatible with Base::test($foo, $extra = [...]) in %s on line %d
17+
Stack trace:
18+
#0 {main}

Zend/tests/array_unpack/in_destructuring.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ Spread operator is not supported in destructuring assignments
88
?>
99
--EXPECTF--
1010
Fatal error: Spread operator is not supported in assignments in %s on line %d
11+
Stack trace:
12+
#0 {main}

Zend/tests/array_unpack/in_destructuring_2.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ Spread operator is not supported in destructuring assignments (only spread)
88
?>
99
--EXPECTF--
1010
Fatal error: Spread operator is not supported in assignments in %s on line %d
11+
Stack trace:
12+
#0 {main}

Zend/tests/array_unpack/unpack_invalid_type_compile_time.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ var_dump([...42]);
88
?>
99
--EXPECTF--
1010
Fatal error: Only arrays and Traversables can be unpacked, int given in %s on line %d
11+
Stack trace:
12+
#0 {main}

Zend/tests/assign_coalesce_004.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ foo() ??= 456;
99
?>
1010
--EXPECTF--
1111
Fatal error: Can't use function return value in write context in %s on line %d
12+
Stack trace:
13+
#0 {main}

Zend/tests/assign_coalesce_005.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ class Test {
1212
?>
1313
--EXPECTF--
1414
Fatal error: Cannot re-assign $this in %s on line %d
15+
Stack trace:
16+
#0 {main}

Zend/tests/assign_coalesce_009.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ strlen("foo")[0] ??= 123;
66
?>
77
--EXPECTF--
88
Fatal error: Cannot use result of built-in function in write context in %s on line %d
9+
Stack trace:
10+
#0 {main}

Zend/tests/asymmetric_visibility/cpp_no_type.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ class Foo {
1212
?>
1313
--EXPECTF--
1414
Fatal error: Property with asymmetric visibility Foo::$bar must have type in %s on line %d
15+
Stack trace:
16+
#0 {main}

Zend/tests/asymmetric_visibility/cpp_wider_set_scope.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ class Foo {
1212
?>
1313
--EXPECTF--
1414
Fatal error: Visibility of property Foo::$bar must not be weaker than set visibility in %s on line %d
15+
Stack trace:
16+
#0 {main}

Zend/tests/asymmetric_visibility/decrease_scope_private_protected.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ class Foo {
1010
?>
1111
--EXPECTF--
1212
Fatal error: Visibility of property Foo::$bar must not be weaker than set visibility in %s on line %d
13+
Stack trace:
14+
#0 {main}

Zend/tests/asymmetric_visibility/no_type.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ class Foo {
1010
?>
1111
--EXPECTF--
1212
Fatal error: Property with asymmetric visibility Foo::$bar must have type in %s on line %d
13+
Stack trace:
14+
#0 {main}

Zend/tests/asymmetric_visibility/override_private_public.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ class B extends A {
1414
?>
1515
--EXPECTF--
1616
Fatal error: Cannot override final property A::$foo in %s on line %d
17+
Stack trace:
18+
#0 {main}

Zend/tests/asymmetric_visibility/override_protected_private.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ class B extends A {
1414
?>
1515
--EXPECTF--
1616
Fatal error: Set access level of B::$foo must be protected(set) (as in class A) or weaker in %s on line %d
17+
Stack trace:
18+
#0 {main}

Zend/tests/asymmetric_visibility/override_public_private.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ class B extends A {
1414
?>
1515
--EXPECTF--
1616
Fatal error: Set access level of B::$foo must be omitted (as in class A) in %s on line %d
17+
Stack trace:
18+
#0 {main}

Zend/tests/asymmetric_visibility/override_public_protected.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ class B extends A {
1414
?>
1515
--EXPECTF--
1616
Fatal error: Set access level of B::$foo must be omitted (as in class A) in %s on line %d
17+
Stack trace:
18+
#0 {main}

Zend/tests/asymmetric_visibility/static_props.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ class C {
1010
?>
1111
--EXPECTF--
1212
Fatal error: Static property may not have asymmetric visibility in %s on line %d
13+
Stack trace:
14+
#0 {main}

Zend/tests/asymmetric_visibility/virtual_get_only.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ class Foo {
1212
?>
1313
--EXPECTF--
1414
Fatal error: Read-only virtual property Foo::$bar must not specify asymmetric visibility in %s on line %d
15+
Stack trace:
16+
#0 {main}

Zend/tests/asymmetric_visibility/virtual_set_only.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ class Foo {
1212
?>
1313
--EXPECTF--
1414
Fatal error: Write-only virtual property Foo::$bar must not specify asymmetric visibility in %s on line %d
15+
Stack trace:
16+
#0 {main}

Zend/tests/attributes/008_wrong_attribution.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ function foo() {}
88
?>
99
--EXPECTF--
1010
Fatal error: Attribute "Attribute" cannot target function (allowed targets: class) in %s
11+
Stack trace:
12+
#0 {main}

Zend/tests/attributes/010_unsupported_const_expression.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ class C1 { }
99
?>
1010
--EXPECTF--
1111
Fatal error: Constant expression contains invalid operations in %s
12+
Stack trace:
13+
#0 {main}

Zend/tests/attributes/018_fatal_error_in_argument.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ function test() {}
99
?>
1010
--EXPECTF--
1111
Fatal error: Dynamic class names are not allowed in compile-time class constant references in %s on line %d
12+
Stack trace:
13+
#0 {main}

Zend/tests/attributes/024_internal_target_validation.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ function a1() { }
99
?>
1010
--EXPECTF--
1111
Fatal error: Attribute "Attribute" cannot target function (allowed targets: class) in %s
12+
Stack trace:
13+
#0 {main}

Zend/tests/attributes/025_internal_repeatable_validation.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ class A1 { }
1010
?>
1111
--EXPECTF--
1212
Fatal error: Attribute "Attribute" must not be repeated in %s
13+
Stack trace:
14+
#0 {main}

Zend/tests/attributes/026_unpack_in_args.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ class Foo { }
99
?>
1010
--EXPECTF--
1111
Fatal error: Cannot use unpacking in attribute argument list in %s on line %d
12+
Stack trace:
13+
#0 {main}

Zend/tests/attributes/override/003.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ echo "Done";
1414
?>
1515
--EXPECTF--
1616
Fatal error: C::c() has #[\Override] attribute, but no matching parent method exists in %s on line %d
17+
Stack trace:
18+
#0 {main}

Zend/tests/attributes/override/004.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ echo "Done";
1919
?>
2020
--EXPECTF--
2121
Fatal error: P::i() has #[\Override] attribute, but no matching parent method exists in %s on line %d
22+
Stack trace:
23+
#0 {main}

Zend/tests/attributes/override/005.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ echo "Done";
1919
?>
2020
--EXPECTF--
2121
Fatal error: P::i() has #[\Override] attribute, but no matching parent method exists in %s on line %d
22+
Stack trace:
23+
#0 {main}

Zend/tests/attributes/override/006.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ echo "Done";
2424
?>
2525
--EXPECTF--
2626
Fatal error: I::i() has #[\Override] attribute, but no matching parent method exists in %s on line %d
27+
Stack trace:
28+
#0 {main}

Zend/tests/attributes/override/008.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ echo "Done";
1717
?>
1818
--EXPECTF--
1919
Fatal error: Foo::t() has #[\Override] attribute, but no matching parent method exists in %s on line %d
20+
Stack trace:
21+
#0 {main}

Zend/tests/attributes/override/010.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ echo "Done";
1717
?>
1818
--EXPECTF--
1919
Fatal error: C::p() has #[\Override] attribute, but no matching parent method exists in %s on line %d
20+
Stack trace:
21+
#0 {main}

Zend/tests/attributes/override/011.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ echo "Done";
1717
?>
1818
--EXPECTF--
1919
Fatal error: C::p() has #[\Override] attribute, but no matching parent method exists in %s on line %d
20+
Stack trace:
21+
#0 {main}

Zend/tests/attributes/override/014.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ echo "Done";
1616
?>
1717
--EXPECTF--
1818
Fatal error: E::e() has #[\Override] attribute, but no matching parent method exists in %s on line %d
19+
Stack trace:
20+
#0 {main}

Zend/tests/attributes/override/017.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ echo "Done";
1919
?>
2020
--EXPECTF--
2121
Fatal error: C::t() has #[\Override] attribute, but no matching parent method exists in %s on line %d
22+
Stack trace:
23+
#0 {main}

Zend/tests/attributes/override/020.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ echo "Done";
1919
?>
2020
--EXPECTF--
2121
Fatal error: I@anonymous::c() has #[\Override] attribute, but no matching parent method exists in %s on line %d
22+
Stack trace:
23+
#0 {main}

Zend/tests/attributes/override/021.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ echo "Done";
1717
?>
1818
--EXPECTF--
1919
Fatal error: C::__construct() has #[\Override] attribute, but no matching parent method exists in %s on line %d
20+
Stack trace:
21+
#0 {main}

Zend/tests/attributes/override/022.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ echo "Done";
1414
?>
1515
--EXPECTF--
1616
Fatal error: C::c() has #[\Override] attribute, but no matching parent method exists in %s on line %d
17+
Stack trace:
18+
#0 {main}

Zend/tests/attributes/override/gh12189_2.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ echo "Done";
2222
?>
2323
--EXPECTF--
2424
Fatal error: D::foo() has #[\Override] attribute, but no matching parent method exists in %s on line %d
25+
Stack trace:
26+
#0 {main}

Zend/tests/attributes/override/gh12189_4.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ echo "Done";
2222
?>
2323
--EXPECTF--
2424
Fatal error: D::__construct() has #[\Override] attribute, but no matching parent method exists in %s on line %d
25+
Stack trace:
26+
#0 {main}

Zend/tests/break_error_001.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ function foo () {
88
?>
99
--EXPECTF--
1010
Fatal error: 'break' operator accepts only positive integers in %sbreak_error_001.php on line 3
11+
Stack trace:
12+
#0 {main}

Zend/tests/break_error_002.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ function foo () {
88
?>
99
--EXPECTF--
1010
Fatal error: 'break' operator with non-integer operand is no longer supported in %sbreak_error_002.php on line 3
11+
Stack trace:
12+
#0 {main}

Zend/tests/break_error_003.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ function foo () {
88
?>
99
--EXPECTF--
1010
Fatal error: 'break' not in the 'loop' or 'switch' context in %sbreak_error_003.php on line 3
11+
Stack trace:
12+
#0 {main}

Zend/tests/break_error_004.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ function foo () {
1010
?>
1111
--EXPECTF--
1212
Fatal error: Cannot 'break' 2 levels in %sbreak_error_004.php on line 4
13+
Stack trace:
14+
#0 {main}

Zend/tests/bug40770.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ for ($i=0; $i<=$mb; $i++) {
2020
?>
2121
--EXPECTF--
2222
Fatal error: Allowed memory size of 8388608 bytes exhausted%s(tried to allocate %d bytes) in %s on line %d
23+
Stack trace:
24+
#0 {main}

Zend/tests/bug41117_1.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ $obj = new foo("Hello world");
1111
?>
1212
--EXPECTF--
1313
Fatal error: Cannot use $this as parameter in %s on line %d
14+
Stack trace:
15+
#0 {main}

Zend/tests/bug41351.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ echo "Done\n";
1212
?>
1313
--EXPECTF--
1414
Fatal error: Cannot use [] for reading in %s on line %d
15+
Stack trace:
16+
#0 {main}

Zend/tests/bug41351_2.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ echo "Done\n";
1212
?>
1313
--EXPECTF--
1414
Fatal error: Cannot use [] for reading in %s on line %d
15+
Stack trace:
16+
#0 {main}

Zend/tests/bug41351_3.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ echo "Done\n";
1212
?>
1313
--EXPECTF--
1414
Fatal error: Cannot use [] for reading in %s on line %d
15+
Stack trace:
16+
#0 {main}

Zend/tests/bug42859.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ use Blah\Ex;
1010
?>
1111
--EXPECTF--
1212
Fatal error: Cannot use Blah\Ex as Ex because the name is already in use in %sbug42859.php on line 6
13+
Stack trace:
14+
#0 {main}

Zend/tests/bug43332_2.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ $foo->bar(new stdclass); // Error, ok!
1414
?>
1515
--EXPECTF--
1616
Fatal error: '\self' is an invalid class name in %sbug43332_2.php on line 5
17+
Stack trace:
18+
#0 {main}

Zend/tests/bug44414.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ class C extends A implements B {
1313
?>
1414
--EXPECTF--
1515
Fatal error: Class C contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (A::foo, B::bar) in %sbug44414.php on line 8
16+
Stack trace:
17+
#0 {main}

Zend/tests/bug48667_1.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ abstract class A implements Iterator, IteratorAggregate { }
88
?>
99
--EXPECTF--
1010
Fatal error: Class A cannot implement both Iterator and IteratorAggregate at the same time in %s on line %d
11+
Stack trace:
12+
#0 {main}

0 commit comments

Comments
 (0)