[PECL-CVS] [pecl-database-ibm_db2] master: Remove deprecated backtick operator from test

[email protected] (Calvin Buckley)
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: Calvin Buckley (NattyNarwhal)
Date: 2025-09-29T12:30:59-03:00

Commit: https://github.com/php/pecl-database-ibm_db2/commit/eccd5a98c22cc2afd6712828b2cd6430b20a6b59
Raw diff: https://github.com/php/pecl-database-ibm_db2/commit/eccd5a98c22cc2afd6712828b2cd6430b20a6b59.diff

Remove deprecated backtick operator from test

Changed paths:
  M  tests/connection.inc


Diff:

diff --git a/tests/connection.inc b/tests/connection.inc
index d043a61..b8886ff 100644
--- a/tests/connection.inc
+++ b/tests/connection.inc
@@ -15,7 +15,7 @@ $username = $user;
 // IBM i (PASE)
 $myos = PHP_OS;
 if (strpos('x'.$myos,'AIX') > 0) {
-  $myos = `uname`;
+  $myos = shell_exec("uname");
 }
 if (strpos($myos,'400') > 0) {
   if (strpos($_SERVER["PHP_SELF"],"V6") === false) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.