From 65764e0777fae0dac343656c306713bf6e8a09aa Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Tue, 27 Oct 2015 11:13:39 +0800 Subject: [PATCH] release lua for PHP7 --- package.xml | 29 +++++++++++++++++++++-------- php_lua.h | 2 +- tests/001.phpt | 2 +- 3 files changed, 23 insertions(+), 10 deletions(-) diff --git a/package.xml b/package.xml index 70a6bf7..533643d 100644 --- a/package.xml +++ b/package.xml @@ -29,11 +29,11 @@ helmut@januschka.com yes - 2013-10-23 - + 2015-10-27 + - 1.1.0 - 1.1.0 + 2.0.0 + 2.0.0 beta @@ -41,9 +41,7 @@ PHP - - Fixed #65097 (nApplyCount release missing) (emptyhua at gmail dot com) - - Trigger E_STRICT when pass an array with index '0' to lua instead of ignoring it - - added support for callable functions and closures as values returned injected into lua engine (harald at octris dot org) + - Release lua for PHP7 @@ -87,6 +85,22 @@ lua + + 2015-10-27 + + 2.0.0 + 2.0.0 + + + beta + beta + + PHP License + + - Release lua for PHP7 + + + 2012-10-23 @@ -104,7 +118,6 @@ - added support for callable functions and closures as values returned injected into lua engine (harald at octris dot org) - 2012-06-24 diff --git a/php_lua.h b/php_lua.h index d63f57e..f925fcf 100644 --- a/php_lua.h +++ b/php_lua.h @@ -48,7 +48,7 @@ extern zend_module_entry lua_module_entry; #define LUA_G(v) (lua_globals.v) #endif -#define PHP_LUA_VERSION "1.1.1-dev" +#define PHP_LUA_VERSION "2.0.0" struct _php_lua_object { lua_State *L; diff --git a/tests/001.phpt b/tests/001.phpt index c154a57..3c5ef6b 100755 --- a/tests/001.phpt +++ b/tests/001.phpt @@ -20,4 +20,4 @@ try { --EXPECTF-- 12 -0.53657291800043 -[string "line"]:1: syntax error near 'code' +[string "line"]:1: %s near 'code'