File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ --TEST--
2
+ Deprecated constants
3
+ --SKIPIF--
4
+ <?php
5
+ require_once ('skipif.inc ' );
6
+ ?>
7
+ --FILE--
8
+ <?php
9
+
10
+ echo constant ('MYSQLI_NO_DATA ' )."\n" ;
11
+ echo constant ('MYSQLI_DATA_TRUNCATED ' )."\n" ;
12
+ echo constant ('MYSQLI_SERVER_QUERY_NO_GOOD_INDEX_USED ' )."\n" ;
13
+ echo constant ('MYSQLI_SERVER_QUERY_NO_INDEX_USED ' )."\n" ;
14
+ echo constant ('MYSQLI_SERVER_QUERY_WAS_SLOW ' )."\n" ;
15
+ echo constant ('MYSQLI_SERVER_PS_OUT_PARAMS ' )."\n" ;
16
+
17
+ print "done! " ;
18
+ ?>
19
+ --EXPECTF--
20
+
21
+ Deprecated: Constant MYSQLI_NO_DATA is deprecated in %s
22
+ 100
23
+
24
+ Deprecated: Constant MYSQLI_DATA_TRUNCATED is deprecated in %s
25
+ 101
26
+
27
+ Deprecated: Constant MYSQLI_SERVER_QUERY_NO_GOOD_INDEX_USED is deprecated in %s
28
+ 16
29
+
30
+ Deprecated: Constant MYSQLI_SERVER_QUERY_NO_INDEX_USED is deprecated in %s
31
+ 32
32
+
33
+ Deprecated: Constant MYSQLI_SERVER_QUERY_WAS_SLOW is deprecated in %s
34
+ 2048
35
+
36
+ Deprecated: Constant MYSQLI_SERVER_PS_OUT_PARAMS is deprecated in %s
37
+ 4096
38
+ done!
You can’t perform that action at this time.
0 commit comments