Skip to content

Commit 0aeb92d

Browse files
committed
Complete the README
1 parent 2f7566c commit 0aeb92d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ $jsPhpize = new JsPhpize();
2222
echo $jsPhpize->compile('foo = { bar: { "baz": "hello" } }');
2323
```
2424

25+
This code will output the following PHP code:
26+
```php
27+
$foo = array( "bar" => array( "baz" => "hello" ) );
28+
```
29+
2530
Or use render to execute it directly:
2631
```php
2732
use JsPhpize\JsPhpize;

0 commit comments

Comments
 (0)