3v4l.org

run code in 300+ PHP versions simultaneously
<?php Finding entry points Branch analysis from position: 0 Jump found. Position 1 = 19, Position 2 = 42 Branch analysis from position: 19 Jump found. Position 1 = 26, Position 2 = 41 Branch analysis from position: 26 Jump found. Position 1 = 36, Position 2 = 40 Branch analysis from position: 36 Jump found. Position 1 = 40 Branch analysis from position: 40 Jump found. Position 1 = 41 Branch analysis from position: 41 Jump found. Position 1 = 42 Branch analysis from position: 42 Return found Branch analysis from position: 40 Branch analysis from position: 41 Branch analysis from position: 42 filename: /var/www/0x3004/100-phpvld/index.php function name: (null) number of ops: 43 compiled vars: !0 = $s1, !1 = $s2 line # * op fetch ext return operands --------------------------------------------------------------------------------- 2 0 > SEND_VAL 0 1 DO_FCALL 1 'error_reporting' 3 2 INCLUDE_OR_EVAL 'flag.php', REQUIRE_ONCE 4 3 FETCH_R global $3 '_SERVER' 4 FETCH_DIM_R $4 $3, 'REMOTE_ADDR' 5 SEND_VAR $4 6 DO_FCALL 1 $5 'md5' 7 FETCH_R global $2 '_GET' 8 FETCH_DIM_R $6 $2, $5 9 ASSIGN !0, $6 5 10 FETCH_R global $9 '_SERVER' 11 FETCH_DIM_R $10 $9, 'HTTP_USER_AGENT' 12 SEND_VAR $10 13 DO_FCALL 1 $11 'md5' 14 FETCH_R global $8 '_GET' 15 FETCH_DIM_R $12 $8, $11 16 ASSIGN !1, $12 6 17 IS_NOT_EQUAL ~14 !0, !1 7 18 > JMPZ ~14, ->42 19 > SEND_VAR !0 20 DO_FCALL 1 $15 'md5' 21 SEND_VAL 'md5' 22 SEND_VAR !1 23 DO_FCALL 2 $16 'hash' 24 IS_IDENTICAL ~17 $15, $16 8 25 > JMPZ ~17, ->41 26 > SEND_VAL 'sha512' 27 SEND_VAR !0 28 SEND_VAL true 29 DO_FCALL 3 $18 'hash' 30 SEND_VAL 'sha512' 31 SEND_VAR !1 32 SEND_VAL true 33 DO_FCALL 3 $19 'hash' 34 IS_NOT_EQUAL ~20 $18, $19 9 35 > JMPZ ~20, ->40 36 > FETCH_CONSTANT ~21 'FLAG' 37 CONCAT ~22 'You+got+it+%3B%29+Here+is+your+flag%3A+', ~21 38 ECHO ~22 39 > JMP ->40 10 40 > > JMP ->41 41 > > JMP ->42 42 > > RETURN 1 branch: # 0; line: 2- 7; sop: 0; eop: 18; out1: 19; out2: 42 branch: # 19; line: 7- 8; sop: 19; eop: 25; out1: 26; out2: 41 branch: # 26; line: 8- 9; sop: 26; eop: 35; out1: 36; out2: 40 branch: # 36; line: 9- 9; sop: 36; eop: 39; out1: 40 branch: # 40; line: 10- 10; sop: 40; eop: 40; out1: 41 branch: # 41; line: 10- 10; sop: 41; eop: 41; out1: 42 branch: # 42; line: 10- 10; sop: 42; eop: 42 path #1: 0, 19, 26, 36, 40, 41, 42, path #2: 0, 19, 26, 40, 41, 42, path #3: 0, 19, 41, 42, path #4: 0, 42,

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.270.0060.03512.36
5.4.260.0070.03712.36
5.4.250.0060.03912.36
5.4.240.0050.03812.36
5.4.230.0070.03812.35
5.4.220.0060.03712.36
5.4.210.0060.03712.36
5.4.200.0100.03312.36
5.4.190.0060.03712.35
5.4.180.0070.03512.35
5.4.170.0050.03712.36
5.4.160.0070.04012.35
5.4.150.0030.04812.35
5.4.140.0070.03712.04
5.4.130.0060.03512.02
5.4.120.0050.03611.98
5.4.110.0040.03611.98
5.4.100.0060.03811.98
5.4.90.0050.03911.98
5.4.80.0050.03911.98
5.4.70.0080.03211.97
5.4.60.0060.03811.98
5.4.50.0080.03411.97
5.4.40.0050.03811.96
5.4.30.0060.03611.96
5.4.20.0060.03411.96
5.4.10.0070.03811.96
5.4.00.0060.03511.45
5.3.280.0070.03612.71
5.3.270.0080.03712.72
5.3.260.0050.04012.72
5.3.250.0090.03612.71
5.3.240.0040.04012.72
5.3.230.0040.04412.70
5.3.220.0060.03712.68
5.3.210.0040.04112.68
5.3.200.0060.03712.68
5.3.190.0050.03812.68
5.3.180.0030.03912.67
5.3.170.0050.03812.66
5.3.160.0030.04012.67
5.3.150.0050.03712.68
5.3.140.0070.03512.66
5.3.130.0070.03712.66
5.3.120.0090.03612.66
5.3.110.0050.03912.66
5.3.100.0090.04312.12
5.3.90.0070.03512.08
5.3.80.0070.03512.07
5.3.70.0090.03612.08
5.3.60.0050.03612.06
5.3.50.0020.04012.00
5.3.40.0030.03912.00
5.3.30.0050.03511.94
5.3.20.0070.03411.70
5.3.10.0070.03311.66
5.3.00.0060.03611.65

preferences:
142 ms | 1394 KiB | 7 Q