You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you mean to post this on my pht extension instead?
Also, this extension (and pht) is not currently being maintained, since I don't yet have the time.
It looks as though new ZVAL types have been introduced since I last touched this code. Ignoring the assertion will just lead to values not being serialised (which could quite possible cause segfaults down the execution path). If you want to try out the extension, you could try a slightly early version (such as 7.2.0), since I don't have the time to update this currently.
From what I can recall, yes. Unfortunately, PHP's internal API is not subject to any limitations around breakages in patch versions. This makes extension development much more complicated (but in return, it does give greater flexibility when making changes to PHP itself).
I compiled PHP using this commands:
And then, I installed pht:
Then I runned the command
php script.php
this error prompted:/root/pht/src/pht_copy.c:784: copy_zval_table: Assertion
0' failed`https://github.com/tpunt/phactor/blob/master/src/ph_copy.c#L784
PHP Version: 7.2.27
I need to use a lower PHP version?
EDIT: I tried version 7.2.4 (from March 2018, the latest commit on this repo was April 2018)
But this is still not working... :(
EDIT2: I edited the line to
return NULL;
by the moment.The text was updated successfully, but these errors were encountered: