Skip to content

Commit 1f5be38

Browse files
committed
ext/mysqli: Add test for mysqli_object_has_property() object hook
1 parent c789e9c commit 1f5be38

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
--TEST--
2+
Test mysqli_object_has_property() internal object hook
3+
--EXTENSIONS--
4+
mysqli
5+
6+
--FILE--
7+
<?php
8+
$driver = new mysqli_driver();
9+
var_dump(isset($driver->client_info));
10+
var_dump(empty($driver->client_info));
11+
?>
12+
--EXPECT--
13+
bool(true)
14+
bool(false)

0 commit comments

Comments
 (0)