Comments (3)
The error is caused by this line:
lowercase_name = zend_string_tolower_ex(orig_class_entry->name, EG(current_module)->type == MODULE_PERSISTENT);
The problem is EG(current_module)->type
, there is a function called zend_string_tolower()
, anyway, that's about it.
The line is in: do_register_internal_class()
function which is called by zend_register_internal_class
.
Anyway, if anyone want to check out the fork gitlab.com/sailenicolas/gophp
from go-php.
Thanks for taking a look here @sailenicolas, and for posting a link to your work here -- indeed go-php
has not been tested with PHP 8.x, and though internal changes don't appear to be as dramatic as in the shift from PHP 5 to 7, things are bound to break. The library is mostly unmaintained, as I have no active use-case for it at the moment, but I welcome and will review any incoming PRs.
from go-php.
Hi, thank you for you response. I completed updating it to make it compatible with PHP8.1. Although there is an issue without a cause. It doesn't happen on every test. See the Passing job and Failing job same commit.
This one: value_test.go:463: Value.Slice('map[c:2 t:1]'): expected '[]interface {}{1, 2}', actual '[]interface {}{2, 1}'
The next step is: make it work with goroutines.
Thank you.
from go-php.
Related Issues (20)
- php7.2 install error HOT 1
- Install problem HOT 1
- Read globals (`$_GET`, `$_POST`, `$_FILES`, `$_REQUEST`, etc) from `http.Request` types HOT 2
- can you show more code example? HOT 3
- Error while getting dependencies HOT 1
- Portability HOT 24
- Long running PHP script HOT 5
- library not found for -lphp7 HOT 1
- Unexpected signal during runtime execution HOT 6
- maxos make install fail
- warning
- would this package profit from this? HOT 1
- Compilation Error HOT 2
- Confused about PHP7/ZTS HOT 1
- Compile Error On Mac OS Catalina HOT 1
- Status of the project? HOT 2
- possible to use php on go gin project HOT 1
- 嗨 你他娘的可真是个天才 HOT 1
- Unable to import go-php library
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 go-php.