Comments (2)
as the lua class is now final.
lua_ce->ce_flags |= ZEND_ACC_FINAL;
extending the Lua class is not possible anymore.
your sample now ends with
Fatal error: Class a may not inherit from final class (Lua) in /home/admin/tmp/php-lua/1.php on line 3
i think thats fine - and there are otherways to achive a construct you want, and this issue could be closed
from php-lua.
Ok ... still think that extending native classes is a valid use case, but yep, i am using a different architecture for this anyway. So ... i am closing.
from php-lua.
Related Issues (20)
- Omission from changelog HOT 1
- Add support for PHP 5.5, PHP 5.6 HOT 2
- Please add documentation and expose it HOT 2
- Test 001.phpt fails in php7 branch with Lua 5.1.5 HOT 1
- PHP 7: Lua::eval(): unsupported type `unknown' for lua HOT 3
- Installation fails on Ubuntu HOT 2
- Boolean FALSE is always TRUE HOT 3
- assert() and error() in Lua module loaded by custom package loader raise exception in closure
- Error in MAC system, MAC vesion:OS X El Capitan 10.11.6 ,Lua vesion:lua 5.3.2
- php 7.0.8 Segmentation faults HOT 5
- Memory leak when passing anonymous functions to lua interpreter HOT 5
- error when assigning an array containing referenced string to lua HOT 2
- PHP worked with Lua failed HOT 1
- Conversion of Lua->PHP callables when passing to a PHP callable fails
- exception while $lua->include(string $luafile);
- call lua function failed: attempt to call a table value
- segment fault HOT 1
- Error installing on Mac OS HOT 2
- php_lua-1.1.0-5.5-ts-vc11-x86 NOT working on php 5.5.38
- PHP8 support? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-lua.