0
0
mirror of https://github.com/phpv8/v8js.git synced 2025-01-03 07:01:52 +00:00

add warning on php methods vs. snapshots

This commit is contained in:
Stefan Siegl 2017-09-01 23:10:30 +02:00 committed by GitHub
parent b7b8a7c476
commit d905f5f271

View File

@ -394,6 +394,9 @@ If you need to create a new V8Js instance, simply pass the snapshot as 5th argum
echo $jscript->executeString('fibonacci(43)') . "\n"; echo $jscript->executeString('fibonacci(43)') . "\n";
``` ```
Keep in mind, that the code to be included in the snapshot may not directly call any of the functions exported
from PHP, since they are added right *after* the snapshot code is run.
Exceptions Exceptions
========== ==========