ircmaxell / phpphp Goto Github PK
View Code? Open in Web Editor NEWA PHP VM implementation in PHP
License: MIT License
A PHP VM implementation in PHP
License: MIT License
is there an easy to do AOP Method-and-property interception in PHPPHP?
Hi
when i run the command
php composer.phar install --dev
there are some problems about that:
[Symfony\Component\Process\Exception\RuntimeException]
The process timed out.
I just run this
COMPOSER_PROCESS_TIMEOUT=4000 php composer.phar update
But the problem still exist .
I dont know WHY and HOW !!
Thanks.
This is more of a question but there is a "question" tag in Github issues so:
If it was possible to integrate PHPPHP to Apache (or any server) like PHP, and if it was possible for PHPPHP to generate opcodes like PHP opcodes, then PHPPHP could become a serious alternative to PHP right?
Because without even having to compile PHPPHP to C (with HipHop for example), you could have equivalent performances if you cache the opcodes generated.
Now, I've read the README and looked at some parts of the code, but I'm not sure if this project generates any opcode (or if it executes directly the parsed code), and if yes then is the opcode compatible with the PHP opcodes?
And I confess I don't know the details of how Apache communicates with PHP (I know it can be a "module" of using fastCGI), but I guess this could be possible with PHPPHP.
That would be extremely interesting to have PHP developed in PHP, because following the latest discussions on PHP internals, there aren't enough PHP devs, and it is mostly because it is developed in C.
With PHPPHP, PHP users can participate to its development.
I've been trying to get $_GET
/$_POST
support working for the entire day already, but I don't seem to be very lucky at this, unfortunately.
It definitely doesn't seem to be supported by default, so I tried to integrate it myself. I've tried the following approaches, without much luck. Would you guys be able to tell me what's up?
Executor.php
's execute
function, at the point where $scope->symbolTable
is assigned.array
's/Zval::ptrFactory
's/Zval:factory
's/Zval::<other stuff>
to $this->symbolTable
in ExecutorGlobals.php
's __construct
.OpLines/FetchGlobalVariables.php
's execute
handler, to receive a notification of reading a global.Other than that, I'm really amazed by how clean the PHP code is, very good job on that one! Hopefully globals will be supported soon.
Also, I noticed that var_dump($GLOBALS);
results in an infinite loop.
Cheers,
Jurriaan
This needs to be fixed for next release ;)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.