Просмотр исходного кода

add warning on php methods vs. snapshots

Stefan Siegl 7 лет назад
Родитель
Сommit
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
 ==========