phpexecjs icon indicating copy to clipboard operation
phpexecjs copied to clipboard

Run JavaScript code from PHP

Results 5 phpexecjs issues
Sort by recently updated
recently updated
newest added

**SetImmediate** is causing the process to be stuck. It is outputing the html code and not exiting the process which is internally causing a timeout error in php. But everything...

Fatal error: Uncaught Error: Class "PhpExecJs" not found in C:\xampp\htdocs\data.php:2 Stack trace: #0 {main} thrown in C:\xampp\htdocs\data.php on line 2

* after working aroud https://github.com/Limenius/ReactBundle/issues/29 i "solved" the prob by removing the \V8Js::createSnapshot($code); > by just remplacing the createContext function in 2.0.0 ````PHP public function createContext($code, $cachename = null){ if...

print_r($phpexecjs->evalJs("'red yellow blue'.split(' ')")); which: no node in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin) which: no nodejs in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin) which: no node in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin) which: no nodejs in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin) RuntimeException with message 'PhpExecJs: Cannot autodetect...

Bumps [symfony/process](https://github.com/symfony/process) from 4.3.4 to 5.4.46. Release notes Sourced from symfony/process's releases. v5.4.46 Changelog (https://github.com/symfony/process/compare/v5.4.45...v5.4.46) security symfony/symfony#cve-2024-51736 [Process] Use PATH before CD to load the shell on Windows (@​nicolas-grekas) bug...

dependencies