Skip to content

Commit d905f5f

Browse files
authored
add warning on php methods vs. snapshots
1 parent b7b8a7c commit d905f5f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,9 @@ If you need to create a new V8Js instance, simply pass the snapshot as 5th argum
394394
echo $jscript->executeString('fibonacci(43)') . "\n";
395395
```
396396

397+
Keep in mind, that the code to be included in the snapshot may not directly call any of the functions exported
398+
from PHP, since they are added right *after* the snapshot code is run.
399+
397400
Exceptions
398401
==========
399402

0 commit comments

Comments
 (0)