diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2021-02-05 14:55:45 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2021-02-05 14:55:45 +0100 |
commit | 320843fe7b1e2f25fca0c634b49101e5baa4bb56 (patch) | |
tree | 93ee2f99e0c0bcf32f7ad58149cb5cf5207887b0 | |
parent | 3b08b422a7f03652383bf3ef9d1324b9038b4f2d (diff) | |
parent | f23bfc4b43ecee99c81171116db9d92e61b6492d (diff) | |
download | php-git-320843fe7b1e2f25fca0c634b49101e5baa4bb56.tar.gz |
Merge branch 'PHP-8.0'
* PHP-8.0:
Fix test expectation for PHP 8.0
Use ST_Y() instead of the deprecated/removed Y() in test
-rw-r--r-- | ext/mysqli/tests/bug74779.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysqli/tests/bug74779.phpt b/ext/mysqli/tests/bug74779.phpt index 88e658ef61..3b4ca8adce 100644 --- a/ext/mysqli/tests/bug74779.phpt +++ b/ext/mysqli/tests/bug74779.phpt @@ -23,7 +23,7 @@ if (!$link->options(MYSQLI_OPT_INT_AND_FLOAT_NATIVE, true)) { printf("[003] [%d] %s\n", $link->errno, $link->error); } -if (!$result = $link->query("SELECT Y(Point(56.7, 53.34))")) { +if (!$result = $link->query("SELECT ST_Y(Point(56.7, 53.34))")) { printf("[004] [%d] %s\n", $link->errno, $link->error); } @@ -37,6 +37,6 @@ mysqli_close($link); ?> --EXPECT-- array(1) { - ["Y(Point(56.7, 53.34))"]=> - float(53,34) + ["ST_Y(Point(56.7, 53.34))"]=> + float(53.34) } |