Skip to content

[7.2] Fix tests bareword fallback with error suppression #3816

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions ext/standard/tests/array/array_chunk_variation1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ $values = array(
/*20*/ new stdclass(),

// undefined data
/*21*/ @undefined_var,
/*21*/ @$undefined_var,

// unset data
/*22*/ @unset_var
/*22*/ @$unset_var

);

Expand Down Expand Up @@ -303,23 +303,23 @@ NULL

-- Iteration 21 --

Warning: array_chunk() expects parameter 1 to be array, string given in %s on line %d
Warning: array_chunk() expects parameter 1 to be array, null given in %s on line %d
NULL

Warning: array_chunk() expects parameter 1 to be array, string given in %s on line %d
Warning: array_chunk() expects parameter 1 to be array, null given in %s on line %d
NULL

Warning: array_chunk() expects parameter 1 to be array, string given in %s on line %d
Warning: array_chunk() expects parameter 1 to be array, null given in %s on line %d
NULL

-- Iteration 22 --

Warning: array_chunk() expects parameter 1 to be array, string given in %s on line %d
Warning: array_chunk() expects parameter 1 to be array, null given in %s on line %d
NULL

Warning: array_chunk() expects parameter 1 to be array, string given in %s on line %d
Warning: array_chunk() expects parameter 1 to be array, null given in %s on line %d
NULL

Warning: array_chunk() expects parameter 1 to be array, string given in %s on line %d
Warning: array_chunk() expects parameter 1 to be array, null given in %s on line %d
NULL
Done
16 changes: 8 additions & 8 deletions ext/standard/tests/array/array_chunk_variation2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ $values = array (
/*21*/ new stdclass(),

// undefined data
/*22*/ @undefined_var,
/*22*/ @$undefined_var,

// unset data
/*23*/ @unset_var
/*23*/ @$unset_var

);

Expand Down Expand Up @@ -407,23 +407,23 @@ NULL

-- Iteration 22 --

Warning: array_chunk() expects parameter 2 to be integer, string given in %s on line %d
Warning: array_chunk(): Size parameter expected to be greater than 0 in %s on line %d
NULL

Warning: array_chunk() expects parameter 2 to be integer, string given in %s on line %d
Warning: array_chunk(): Size parameter expected to be greater than 0 in %s on line %d
NULL

Warning: array_chunk() expects parameter 2 to be integer, string given in %s on line %d
Warning: array_chunk(): Size parameter expected to be greater than 0 in %s on line %d
NULL

-- Iteration 23 --

Warning: array_chunk() expects parameter 2 to be integer, string given in %s on line %d
Warning: array_chunk(): Size parameter expected to be greater than 0 in %s on line %d
NULL

Warning: array_chunk() expects parameter 2 to be integer, string given in %s on line %d
Warning: array_chunk(): Size parameter expected to be greater than 0 in %s on line %d
NULL

Warning: array_chunk() expects parameter 2 to be integer, string given in %s on line %d
Warning: array_chunk(): Size parameter expected to be greater than 0 in %s on line %d
NULL
Done
4 changes: 2 additions & 2 deletions ext/standard/tests/array/array_chunk_variation3.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ $values = array(
/*16*/ new stdclass(),

// undefined data
/*17*/ @undefined_var,
/*17*/ @$undefined_var,

// unset data
/*18*/ @unset_var
/*18*/ @$unset_var

);

Expand Down
Loading