]> granicus.if.org Git - php/commitdiff
- Fix expected result. This has hidden an obvious bug..
authorJani Taskinen <jani@php.net>
Mon, 5 Nov 2007 17:09:26 +0000 (17:09 +0000)
committerJani Taskinen <jani@php.net>
Mon, 5 Nov 2007 17:09:26 +0000 (17:09 +0000)
ext/standard/tests/file/flock_error.phpt

index cc9752157e6c25644f232c31b64b304e0602a1be..75c093e58d811166eef54cadcc102a53ab622374 100644 (file)
@@ -91,10 +91,8 @@ Warning: flock() expects parameter 2 to be long, string given in %s on line %d
 NULL
 
 --- Iteration 8 ---
-Notice: A non well formed numeric value encountered in %s on line %d
-
-Warning: flock(): Illegal operation argument in %s on line %d
-bool(false)
+Warning: flock() expects parameter 2 to be long, string given in %s on line %d
+NULL
 
 Warning: flock(): 6 is not a valid stream resource in %s on line %d
 bool(false)
@@ -148,10 +146,8 @@ Warning: flock() expects parameter 2 to be long, Unicode string given in %s on l
 NULL
 
 --- Iteration 8 ---
-Notice: A non well formed numeric value encountered in %s on line %d
-
-Warning: flock(): Illegal operation argument in %s on line %d
-bool(false)
+Warning: flock() expects parameter 2 to be long, string given in %s on line %d
+NULL
 
 Warning: flock(): 6 is not a valid stream resource in %s on line %d
 bool(false)