Skip to content

Commit 95193c3

Browse files
committed
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2: Removed /e modifirer and fixed ws.
2 parents b1e25ce + 8db63ad commit 95193c3

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
@@ -992,7 +992,7 @@ function($matches) use ($spec, $prefix, $op1, $op2, $extra_spec) {
992992
}
993993

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

26722672
// Generate specialized executor
26732673
gen_executor($f, $skl, ZEND_VM_SPEC, ZEND_VM_KIND, "execute", "zend_vm_init");
2674+
out($f, "\n");
26742675

26752676
// Generate zend_vm_get_opcode_handler() function
26762677
out($f, "static const void* ZEND_FASTCALL zend_vm_get_opcode_handler_ex(uint32_t spec, const zend_op* op)\n");

0 commit comments

Comments
 (0)