Skip to content

Commit 6783401

Browse files
committed
Trim error message
Some PHP versions return error "bool given" but some, for example, PHP8.4 returns "false given". Trim that message a bit
1 parent 702477c commit 6783401

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ibase_num_params_004.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ int(2)
2424

2525
Warning: ibase_prepare(): Dynamic SQL Error SQL error code = -%d Column unknown X At line %d, column %d %s
2626

27-
Fatal error: Uncaught TypeError: ibase_num_params(): Argument #1 ($query) must be of type resource, bool given in %a
27+
Fatal error: Uncaught TypeError: ibase_num_params(): Argument #1 ($query) must be of type resource, %a

0 commit comments

Comments
 (0)