@@ -26,11 +26,11 @@ provides an accurate native V8 C++ API implementation available from PHP.
2626 - multiple isolates and contexts at the same time;
2727 - it works;
2828
29- With this extension almost all what native V8 C++ API provides can be used. It provides a way to pass php scalars,
29+ With this extension almost all that native V8 C++ API provides can be used. It provides a way to pass php scalars,
3030objects and function to V8 runtime and specify interaction with passed values (objects and functions only, as scalars
3131become js scalars too). While specific functionality will be done in PHP userland rather then in C/C++ this extension,
32- it let get into V8 hacking faster, reduces time costs and let have more maintainable solution. And it doesn't make any
33- assumptions for you so you are the boss , it does exactly what you ask for .
32+ it lets you get into V8 hacking faster, reduces time costs and gives you a more maintainable solution. And it doesn't
33+ make any assumptions for you, so you stay in control , it does exactly what you ask it to do .
3434
3535With php-v8 you can even implement nodejs in PHP. Not sure whether anyone should/will do this anyway, but it's doable.
3636
@@ -55,8 +55,8 @@ $result = $script->Run($context);
5555echo $result->ToString($context)->Value(), PHP_EOL;
5656```
5757
58- which will output ` Hello, World! ` . See how it shorter and readable from that C++ version? And it also doesn't limit you
59- from V8 API utilizing to implement more amazing stuff.
58+ which will output ` Hello, World! ` . See how it's shorter and readable from that C++ version? And it also doesn't limit
59+ you from V8 API utilizing to implement more amazing stuff.
6060
6161
6262## Installation
@@ -103,25 +103,6 @@ $ sudo make install
103103 - To track memory usage you may want to use ` smem ` , ` pmem ` and even ` lsof ` to see what shared object are loaded
104104 and ` free ` to display free and used memory in the system.
105105
106-
107- ## Edge cases:
108-
109- ### Templates recursion:
110-
111- When you set property on any ` Template ` (` ObjectTemplate ` or ` FunctionTemplate ` ) it shouldn't lead to recursion during
112- template instantiation while it leads to segfault and for now there are no reasonable way to avoid this on extension
113- level (probably, some wrapper around ` ObjectTemplate ` and ` FunctionTemplate ` will solve this.
114-
115- Known issues demo:
116-
117- ``` php
118- $isolate = new V8\Isolate();
119-
120- $template = new V8\ObjectTemplate($isolate);
121-
122- $template->Set('self', $template); // leads to segfault
123- ```
124-
125106## License
126107
127108Copyright (c) 2015-2016 Bogdan Padalko
< ; [email protected] > ;
0 commit comments