Comments (3)
@kusut unfortunately, HHVM is not supported due to some limitations of HHVM JIT machine (Closure::bind
is unavailable in Repo mode). Moreover, HHVM has buggy implementation of ReflectionMethod->getClosure()
which is used by Go! AOP engine.
So, there is only small chance to create custom ReflectionMethod->getClosure()
method (extend class and override it) with correct behaviour to make it work under HHVM.
from aspectmock.
lisachenko, it seems it's not entirely in your control but do you see any roadmap on having HHVM working with go aop anytime soon?
from aspectmock.
@newtonianb HHVM developers don't want to break their existing codebase for magic things like closure rebinding, so there is only small chance to make framework working with HHVM ( Shame about that, but I'm happy that framework can run on PHP7 natively and this is good sign for me, because all JIT and memory optimizations can improve the performance of AOP.
from aspectmock.
Related Issues (20)
- Class 'yii\base\UnknownClassException' not found HOT 1
- verifyInvokedMultipleTimes and ArgumentFormatter formats an object in an array with __set_state
- Cannot was not found by locator HOT 3
- Class Stripe\Exception\ExceptionInterface was not found
- cacheDir cannot be omitted HOT 1
- How can i past a double to a class contructor?
- How load more then one class from file?
- Incorrect cache files HOT 2
- Lack of comment in the doubled class causes "ParseError: syntax error, unexpected 'if' (T_IF), expecting function (T_FUNCTION) or const (T_CONST)" HOT 27
- Importing class itself as a class name instead of using 'self', cause infinite recursion
- Error: Using $this when not in object context
- Status of AspectMock? HOT 1
- It still uses real class instead mock class. HOT 1
- Error when mocking built-in function with pass-by-reference argument and argument with default value (PHP 8) HOT 1
- Does not install with Composer w/o warnings/errors (PHP 8) HOT 5
- Redefinition of parameter $_ PointcutGrammar.php
- test::func doesn't work I expected HOT 1
- AspectMock не мокает объект
- AspectMock not working in Codeception framework & yii2 framework HOT 3
- Should we mark this package as EOL? HOT 2
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 aspectmock.