Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
puritys committed Nov 21, 2015
1 parent 0061b3a commit e546a12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Completed PHP Method
Execute phplike in global mode sample
-------------------------------

You can require the index.js of phplike, then you will use the phplike function in global object. It means that you don't need prefix to call php function. To execute function like a real php coding.
If you require the index.js of phplike, then you can use the phplike's functions in global object. It means that you don't need the prefix to call the phplike's function. To execute functions like a real php coding.

exec(command, printInScreen = true);

Expand All @@ -176,7 +176,7 @@ exec(command, printInScreen = true);
Execute phplike in module mode sample (phplike 2.0)
------------------------------

You can require module.js of phplike, then you will need prefix to call phplike function, the module mode will not change the method of global object and can separate both of php and node.js.
You can require module.js of phplike, then you will need prefix to call phplike function, the module mode will not change the method of global object and can separate the Phplike's functions from native Node.js functions .

```
var php = require("phplike/module.js");
Expand Down

0 comments on commit e546a12

Please sign in to comment.