cvs: php-src(PHP_5_0) /ext/mysqli/tests 064.phpt

From: Date: Sat, 07 May 2005 07:55:01 +0000
Subject: cvs: php-src(PHP_5_0) /ext/mysqli/tests 064.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-31761@lists.php.net to get a copy of this message
georg Sat May 7 03:55:01 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/mysqli/tests 064.phpt Log: fix for 5_0. Statement constructor doesn't exist in 5_0 http://cvs.php.net/diff.php/php-src/ext/mysqli/tests/064.phpt?r1=1.1.2.2&r2=1.1.2.3&ty=u Index: php-src/ext/mysqli/tests/064.phpt diff -u php-src/ext/mysqli/tests/064.phpt:1.1.2.2 php-src/ext/mysqli/tests/064.phpt:1.1.2.3 --- php-src/ext/mysqli/tests/064.phpt:1.1.2.2 Thu May 5 09:30:31 2005 +++ php-src/ext/mysqli/tests/064.phpt Sat May 7 03:55:01 2005 @@ -8,7 +8,7 @@ $mysql = new mysqli($host, $user, $passwd); - $stmt = new mysqli_stmt($mysql, "SELECT NULL FROM DUAL"); + $stmt = $mysql->prepare("SELECT NULL FROM DUAL"); $stmt->execute(); $stmt->bind_result($foo); $stmt->fetch();

« previous php.cvs (#31761) next »