Browse Source

add warning on php methods vs. snapshots

Stefan Siegl 7 years ago
parent
commit
d905f5f271
1 changed files with 3 additions and 0 deletions
  1. 3 0
      README.md

+ 3 - 0
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";
     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
 ==========
 ==========