Skip to content

Commit 9d34ec6

Browse files
committed
feat: add opcache example
1 parent eddf2ce commit 9d34ec6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

playground/simple.phpo

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
$_main:
3+
; (lines=7, args=0, vars=2, tmps=1)
4+
; (after optimizer)
5+
; /Users/xepozz/IdeaProjects/xepozz/php-opcodes-plugin/playground/simple.php:1-6
6+
0000 EXT_STMT
7+
0001 ASSIGN CV0($a) int(2)
8+
0002 EXT_STMT
9+
0003 ASSIGN CV1($var) int(1)
10+
0004 EXT_STMT
11+
0005 ECHO CV1($var)
12+
0006 RETURN int(1)

0 commit comments

Comments
 (0)