summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2010-12-03 15:34:24 +0000
committerJani Taskinen <jani@php.net>2010-12-03 15:34:24 +0000
commit72ae65bc9de944310b6ca496e7ba6aaa7bd4db1b (patch)
treeb6a8e5b077c55a2d3b7491ef63ebf47843a5376f /tests
parent07535b7986de42c2e0e7705351e2eca6532cbd0c (diff)
downloadphp-git-72ae65bc9de944310b6ca496e7ba6aaa7bd4db1b.tar.gz
- CS and "de-facto" style of returning NULL for failing parse-params, sync partially with PHP_5_3 too (reordering part :)
Diffstat (limited to 'tests')
-rw-r--r--tests/output/ob_start_basic_006.phpt12
-rw-r--r--tests/output/ob_start_error_001.phpt6
2 files changed, 15 insertions, 3 deletions
diff --git a/tests/output/ob_start_basic_006.phpt b/tests/output/ob_start_basic_006.phpt
index ff7a0cd9eb..464e71be33 100644
--- a/tests/output/ob_start_basic_006.phpt
+++ b/tests/output/ob_start_basic_006.phpt
@@ -74,30 +74,40 @@ checkAndClean();
--EXPECTF--
---> Test arrays:
+Warning: ob_start(): array must have exactly two members in %s on line 44
+
Notice: ob_start(): failed to create buffer in %s on line 44
bool(false)
Array
(
)
+Warning: ob_start(): class 'f' not found in %s on line 47
+
Notice: ob_start(): failed to create buffer in %s on line 47
bool(false)
Array
(
)
+Warning: ob_start(): array must have exactly two members in %s on line 50
+
Notice: ob_start(): failed to create buffer in %s on line 50
bool(false)
Array
(
)
+Warning: ob_start(): array must have exactly two members in %s on line 53
+
Notice: ob_start(): failed to create buffer in %s on line 53
bool(false)
Array
(
)
+Warning: ob_start(): array must have exactly two members in %s on line 56
+
Notice: ob_start(): failed to create buffer in %s on line 56
bool(false)
Array
@@ -116,6 +126,8 @@ Array
)
+Warning: ob_start(): array must have exactly two members in %s on line 68
+
Notice: ob_start(): failed to create buffer in %s on line 68
bool(false)
Array
diff --git a/tests/output/ob_start_error_001.phpt b/tests/output/ob_start_error_001.phpt
index e7dfa53efd..b45de831df 100644
--- a/tests/output/ob_start_error_001.phpt
+++ b/tests/output/ob_start_error_001.phpt
@@ -33,7 +33,7 @@ var_dump(ob_start("justPrint", 0, "this should be a bool"));
- Too many arguments
Warning: ob_start() expects at most 3 parameters, 4 given in %s on line 17
-bool(false)
+NULL
- Arg 1 wrong type
@@ -45,9 +45,9 @@ bool(false)
- Arg 2 wrong type
Warning: ob_start() expects parameter 2 to be long, string given in %s on line 23
-bool(false)
+NULL
- Arg 3 wrong type
Warning: ob_start() expects parameter 3 to be long, string given in %s on line 26
-bool(false)
+NULL