Skip to content

Commit 7155239

Browse files
committed
Merge branch 'PHP-7.3'
* PHP-7.3: Removed /e modifirer and fixed ws.
2 parents d6f4652 + 95193c3 commit 7155239

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Zend/zend_vm_gen.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
993993
}
994994

995995
/* Remove unused free_op1 and free_op2 declarations */
996-
if ($spec && preg_match_all('/^\s*zend_free_op\s+[^;]+;\s*$/me', $code, $matches, PREG_SET_ORDER)) {
996+
if ($spec && preg_match_all('/^\s*zend_free_op\s+[^;]+;\s*$/m', $code, $matches, PREG_SET_ORDER)) {
997997
$n = 0;
998998
foreach ($matches as $match) {
999999
$code = preg_replace('/'.preg_quote($match[0],'/').'/', "\$D$n", $code);
@@ -2672,6 +2672,7 @@ function gen_vm($def, $skel) {
26722672

26732673
// Generate specialized executor
26742674
gen_executor($f, $skl, ZEND_VM_SPEC, ZEND_VM_KIND, "execute", "zend_vm_init");
2675+
out($f, "\n");
26752676

26762677
// Generate zend_vm_get_opcode_handler() function
26772678
out($f, "\n");

0 commit comments

Comments
 (0)