Skip to content

Commit c560665

Browse files
committed
API update.
1 parent 69ed799 commit c560665

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/V8Js.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class V8Js
77

88
const FLAG_NONE = 1;
99
const FLAG_FORCE_ARRAY = 2;
10+
const FLAG_PROPAGATE_PHP_EXCEPTIONS = 4;
1011

1112
const DEBUG_AUTO_BREAK_NEVER = 1;
1213
const DEBUG_AUTO_BREAK_ONCE = 2;
@@ -53,9 +54,9 @@ public function executeString($script, $identifier = '', $flags = self::FLAG_NON
5354
/**
5455
* Compiles a script in object's context with optional identifier string.
5556
*
56-
* @param
57-
* $script
57+
* @param string $script
5858
* @param string $identifier
59+
*
5960
* @return resource
6061
*/
6162
public function compileString($script, $identifier = '')

0 commit comments

Comments
 (0)