Skip to content

Commit b375b10

Browse files
committed
update readme
1 parent 3233bf3 commit b375b10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Step 1. [Download the latest release](https://github.com/tureki/php-closure-comp
3535
Step 2. Include the library:
3636

3737
```php
38-
require_once '[path to phpcc]/phpcc.class.php';
38+
require_once '[path to phpcc]/phpcc.php';
3939
```
4040

4141

@@ -45,9 +45,9 @@ require_once '[path to phpcc]/phpcc.class.php';
4545
Download **phpcc** Library. and then require <code>phpcc.class.php</code> in your <code>.php</code> file. You can test <code>sample.php</code> in <code>samples</code> folder.
4646

4747
```php
48-
require '../src/phpcc.class.php';
48+
require '../src/phpcc.php';
4949

50-
$phpcc = new PhpCc(array(
50+
$phpcc = new tureki\PhpCc(array(
5151
'java_file' => 'YOUR JAVA FILE PATH',
5252
'jar_file' => '../src/compiler/compiler.jar',
5353
'output_path' => './output/',

0 commit comments

Comments
 (0)