浏览代码

add warning on php methods vs. snapshots

Stefan Siegl 7 年之前
父节点
当前提交
d905f5f271
共有 1 个文件被更改,包括 3 次插入0 次删除
  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";
 ```
 
+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
 ==========