From d905f5f271e37aed24011aa274f818cf83a3592e Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Fri, 1 Sep 2017 23:10:30 +0200 Subject: [PATCH] add warning on php methods vs. snapshots --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index a7f81ff..df8e8c3 100644 --- a/README.md +++ b/README.md @@ -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"; ``` +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 ==========