3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp1=tempnam("/tmp", "prvieval"); $tmp2=tempnam("/tmp", "drugieval"); $tmp3=tempnam("/tmp","trecieval"); $cntnt="ZWNobyAnYSc7"; $bb64="base64_decode"; file_put_contents($tmp1, '<?php file_put_contents("' . $tmp2 . '", \'<?php file_put_contents("' . $tmp3 . '","<?php ' . $bb64 . '(\"'.$cntnt.'\") ;");\' ); ' ); echo "---1--"; echo file_get_contents($tmp1); echo "--12---"; include($tmp1); echo file_get_contents($tmp2); echo "--23---"; include($tmp2); echo file_get_contents($tmp3); echo "--3---"; include($tmp3);

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)
8.3.60.0140.00416.63
8.3.50.0130.00721.98
8.3.40.0180.00418.70
8.3.30.0120.00318.80
8.3.20.0060.00320.46
8.3.10.0050.00323.64
8.3.00.0050.00523.79
8.2.180.0040.01117.00
8.2.170.0070.01122.96
8.2.160.0110.00422.18
8.2.150.0090.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00020.75
8.2.120.0080.00026.35
8.2.110.0030.00619.24
8.2.100.0000.01217.80
8.2.90.0040.00419.23
8.2.80.0030.00617.97
8.2.70.0060.00317.38
8.2.60.0030.00618.04
8.2.50.0000.01018.09
8.2.40.0060.00322.29
8.2.30.0050.00219.55
8.2.20.0050.00317.67
8.2.10.0040.00417.99
8.2.00.0040.00418.11
8.1.280.0070.01125.92
8.1.270.0170.00322.25
8.1.260.0070.00328.09
8.1.250.0090.00028.09
8.1.240.0070.00422.52
8.1.230.0090.00317.79
8.1.220.0030.00617.77
8.1.210.0040.00418.77
8.1.200.0070.00317.35
8.1.190.0000.00817.13
8.1.180.0040.00418.10
8.1.170.0030.00518.43
8.1.160.0040.00420.71
8.1.150.0040.00420.60
8.1.140.0050.00319.60
8.1.130.0040.00417.63
8.1.120.0050.00317.47
8.1.110.0050.00217.43
8.1.100.0080.00017.39
8.1.90.0000.00817.55
8.1.80.0080.00017.50
8.1.70.0040.00417.31
8.1.60.0060.00317.56
8.1.50.0040.00417.56
8.1.40.0000.00817.48
8.1.30.0000.00817.70
8.1.20.0050.00317.64
8.1.10.0050.00317.56
8.1.00.0030.00617.61
8.0.300.0080.00018.77
8.0.290.0000.00816.75
8.0.280.0000.00718.41
8.0.270.0040.00417.32
8.0.260.0000.00817.35
8.0.250.0000.00717.08
8.0.240.0040.00416.95
8.0.230.0070.00017.08
8.0.220.0000.00716.98
8.0.210.0000.00716.99
8.0.200.0000.00717.08
8.0.190.0040.00417.00
8.0.180.0000.00716.94
8.0.170.0040.00416.98
8.0.160.0040.00417.03
8.0.150.0090.00016.93
8.0.140.0040.00416.83
8.0.130.0030.00313.44
8.0.120.0040.00416.99
8.0.110.0030.00516.87
8.0.100.0040.00416.92
8.0.90.0000.00716.79
8.0.80.0040.01216.96
8.0.70.0070.00017.00
8.0.60.0030.00516.84
8.0.50.0040.00417.02
8.0.30.0110.00817.00
8.0.20.0130.00717.40
8.0.10.0000.00716.85
8.0.00.0080.01016.94
7.4.330.0000.00516.77
7.4.320.0030.00316.58
7.4.300.0060.00016.52
7.4.290.0050.00316.58
7.4.280.0000.00716.62
7.4.270.0000.00816.53
7.4.260.0000.00716.37
7.4.250.0040.00416.50
7.4.240.0040.00416.59
7.4.230.0000.00716.63
7.4.220.0030.01516.59
7.4.210.0080.00916.63
7.4.200.0040.00416.59
7.4.160.0080.00816.44
7.4.150.0040.01417.40
7.4.140.0090.01017.86
7.4.130.0080.01216.43
7.4.120.0130.00816.54
7.4.110.0160.00416.56
7.4.100.0130.01016.55
7.4.90.0060.02016.46
7.4.80.0090.00919.39
7.4.70.0070.01016.48
7.4.60.0110.00716.71
7.4.50.0040.01216.34
7.4.40.0100.01016.64
7.4.30.0120.00616.54
7.4.00.0030.01414.87
7.3.330.0040.00313.23
7.3.320.0030.00313.32
7.3.310.0040.00416.34
7.3.300.0030.00316.37
7.3.290.0040.00416.34
7.3.280.0110.00916.39
7.3.270.0090.00917.40
7.3.260.0210.00316.57
7.3.250.0120.00816.48
7.3.240.0150.00516.35
7.3.230.0150.00316.39
7.3.210.0030.01616.32
7.3.200.0040.01519.39
7.3.190.0030.01416.33
7.3.180.0070.01016.39
7.3.170.0090.01516.29
7.3.160.0060.01016.32
7.2.330.0140.00416.47
7.2.320.0150.00816.52
7.2.310.0110.00616.72
7.2.300.0100.00816.57
7.2.290.0090.00916.79
7.2.110.0120.00416.57
7.2.60.0030.01316.80
7.2.00.0030.01319.49
7.1.200.0000.01015.54
7.1.100.0080.00518.12
7.1.70.0070.00016.87
7.1.60.0100.01619.40
7.1.50.0080.00317.10
7.1.00.0030.07722.58
7.0.200.0150.00016.48
7.0.60.0130.08321.75
7.0.50.0100.08017.88
7.0.40.0070.04720.20
7.0.30.0270.07720.10
7.0.20.0170.04320.34
7.0.10.0000.04720.09
7.0.00.0130.03720.04
5.6.280.0000.04321.04
5.6.210.0070.08020.69
5.6.200.0030.04318.09
5.6.190.0100.03720.22
5.6.180.0270.07020.62
5.6.170.0270.04020.55
5.6.160.0100.08320.56
5.6.150.0100.08018.21
5.6.140.0170.07718.18
5.6.130.0030.04318.19
5.6.120.0030.07321.18
5.6.110.0100.08020.94
5.6.100.0100.05021.04
5.6.90.0030.07321.16
5.6.80.0070.08320.40
5.5.350.0130.09020.36
5.5.340.0070.03718.05
5.5.330.0100.06020.09
5.5.320.0230.04320.30
5.5.310.0100.04720.24
5.5.300.0030.04017.93
5.5.290.0070.05017.93
5.5.280.0130.07720.96
5.5.270.0130.07720.92
5.5.260.0130.07020.67
5.5.250.0030.08720.82
5.5.240.0170.07720.30

preferences:
60.44 ms | 401 KiB | 5 Q