Skip to content

Commit b7a616f

Browse files
committed
Do not test statup in effect
1 parent b464c81 commit b7a616f

File tree

64 files changed

+7
-312
lines changed

Some content is hidden

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

64 files changed

+7
-312
lines changed

ext/zend_test/test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,8 +612,8 @@ PHP_MINIT_FUNCTION(zend_test)
612612
zend_test_unit_enum = register_class_ZendTestUnitEnum();
613613
zend_test_string_enum = register_class_ZendTestStringEnum();
614614

615-
/* Register legacy iterable function */
616-
zend_register_functions(NULL, ext_function_legacy, NULL, EG(current_module)->type);
615+
/* Register legacy iterable function, this generates E_CORE_WARNING on startup */
616+
//zend_register_functions(NULL, ext_function_legacy, NULL, EG(current_module)->type);
617617

618618
// Loading via dl() not supported with the observer API
619619
if (type != MODULE_TEMPORARY) {

ext/zend_test/tests/attribute_arguments.phpt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@ var_dump($attribute->newInstance());
8686

8787
?>
8888
--EXPECTF--
89-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
90-
91-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
92-
93-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
9489
array(1) {
9590
[0]=>
9691
string(6) "value1"

ext/zend_test/tests/attribute_hash_table_leak.phpt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ var_dump($o->override("foo"));
5555

5656
?>
5757
--EXPECT--
58-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
59-
60-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
61-
62-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
6358
int(1)
6459
int(2)
6560
int(3)

ext/zend_test/tests/fiber_test_01.phpt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ var_dump($fiber->getReturn()); // int(1)
2121

2222
?>
2323
--EXPECT--
24-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
25-
26-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
27-
28-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
2924
int(123)
3025
int(246)
3126
NULL

ext/zend_test/tests/fiber_test_02.phpt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ var_dump($test->resume(2)); // NULL
1717

1818
?>
1919
--EXPECT--
20-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
21-
22-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
23-
24-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
2520
int(1)
2621
int(2)
2722
NULL

ext/zend_test/tests/fiber_test_03.phpt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ $value = $fiber->throw(new Exception('test'));
2222

2323
?>
2424
--EXPECTF--
25-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
26-
27-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
28-
29-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
3025
int(1)
3126
int(2)
3227
int(3)

ext/zend_test/tests/fiber_test_04.phpt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ var_dump($fiber->getReturn()); // int(-1)
3030

3131
?>
3232
--EXPECT--
33-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
34-
35-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
36-
37-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
3833
int(1)
3934
int(2)
4035
int(3)

ext/zend_test/tests/fiber_test_05.phpt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ $value = $test->resume(2 * $value);
2828

2929
?>
3030
--EXPECT--
31-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
32-
33-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
34-
35-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
3631
int(1)
3732
int(2)
3833
int(3)

ext/zend_test/tests/fiber_test_06.phpt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ var_dump($fiber->resume('2')); // NULL
2929

3030
?>
3131
--EXPECT--
32-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
33-
34-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
35-
36-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
3732
int(10)
3833
int(1)
3934
string(1) "1"

ext/zend_test/tests/fiber_test_07.phpt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,5 @@ var_dump($fiber->start());
1717

1818
?>
1919
--EXPECT--
20-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
21-
22-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
23-
24-
Warning: iterable type is now a compile time alias for array|Traversable, regenerate the argument info via the php-src gen_stub build script in Unknown on line 0
2520
int(1)
2621
NULL

0 commit comments

Comments
 (0)