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.0120.00316.50
8.3.50.0120.00721.98
8.3.40.0120.00318.71
8.3.30.0090.00618.76
8.3.20.0030.00520.42
8.3.10.0030.00623.84
8.3.00.0060.00323.52
8.2.180.0070.00716.38
8.2.170.0150.00422.96
8.2.160.0070.00722.31
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00420.75
8.2.120.0030.00526.35
8.2.110.0030.00622.12
8.2.100.0060.00617.72
8.2.90.0040.00417.63
8.2.80.0070.00317.97
8.2.70.0040.00418.00
8.2.60.0040.00417.93
8.2.50.0030.00618.10
8.2.40.0000.00922.31
8.2.30.0040.00419.56
8.2.20.0080.00017.57
8.2.10.0030.00618.13
8.2.00.0000.00818.04
8.1.280.0090.00925.92
8.1.270.0110.00822.02
8.1.260.0110.00028.09
8.1.250.0040.00428.09
8.1.240.0090.00023.91
8.1.230.0080.00319.04
8.1.220.0090.00017.76
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0030.00617.22
8.1.180.0090.00018.10
8.1.170.0000.00818.65
8.1.160.0040.00419.02
8.1.150.0050.00218.82
8.1.140.0040.00419.47
8.1.130.0040.00417.72
8.1.120.0000.00817.42
8.1.110.0020.00517.52
8.1.100.0070.00017.47
8.1.90.0040.00417.45
8.1.80.0000.00717.40
8.1.70.0000.00717.45
8.1.60.0090.00017.66
8.1.50.0030.00617.54
8.1.40.0040.00417.64
8.1.30.0060.00317.75
8.1.20.0000.00817.68
8.1.10.0000.00817.71
8.1.00.0080.00017.61
8.0.300.0000.00818.77
8.0.290.0000.00816.75
8.0.280.0030.00318.52
8.0.270.0000.00717.32
8.0.260.0070.00017.45
8.0.250.0030.00517.05
8.0.240.0040.00416.97
8.0.230.0000.00717.08
8.0.220.0050.00316.96
8.0.210.0000.00717.00
8.0.200.0000.00716.91
8.0.190.0040.00417.07
8.0.180.0040.00416.99
8.0.170.0080.00016.96
8.0.160.0040.00416.99
8.0.150.0090.00016.95
8.0.140.0040.00416.97
8.0.130.0030.00313.45
8.0.120.0000.00916.85
8.0.110.0040.00416.94
8.0.100.0070.00016.92
8.0.90.0000.00816.92
8.0.80.0060.01016.99
8.0.70.0040.00416.92
8.0.60.0030.00616.77
8.0.50.0080.00016.93
8.0.30.0110.01217.18
8.0.20.0080.01217.40
8.0.10.0030.00617.07
8.0.00.0100.00916.78
7.4.330.0030.00316.84
7.4.320.0070.00016.61
7.4.300.0030.00316.53
7.4.290.0030.00316.52
7.4.280.0040.00416.63
7.4.270.0030.00416.48
7.4.260.0060.00316.52
7.4.250.0000.00816.56
7.4.240.0040.00416.54
7.4.230.0000.00816.45
7.4.220.0110.01416.49
7.4.210.0020.01616.51
7.4.200.0040.00416.40
7.4.160.0100.00616.68
7.4.150.0140.01117.40
7.4.140.0120.00617.86
7.4.130.0140.01016.55
7.4.120.0160.00216.51
7.4.110.0170.00716.62
7.4.100.0160.00716.41
7.4.90.0090.00916.38
7.4.80.0040.01519.39
7.4.70.0110.00716.62
7.4.60.0060.01316.48
7.4.50.0000.01316.38
7.4.40.0090.01316.36
7.4.30.0040.01416.30
7.4.00.0070.01015.14
7.3.330.0000.00713.31
7.3.320.0050.00013.24
7.3.310.0050.00316.27
7.3.300.0000.00816.35
7.3.290.0040.00416.23
7.3.280.0100.01016.36
7.3.270.0000.01717.40
7.3.260.0130.01016.21
7.3.250.0100.00816.36
7.3.240.0090.00816.33
7.3.230.0150.01116.55
7.3.210.0070.01716.42
7.3.200.0160.00919.39
7.3.190.0060.01016.53
7.3.180.0060.01616.53
7.3.170.0090.01216.53
7.3.160.0140.00416.41
7.2.330.0150.00316.70
7.2.320.0170.00016.69
7.2.310.0140.00316.75
7.2.300.0150.00716.82
7.2.290.0210.02416.75
7.2.110.0230.00416.36
7.2.60.0090.00617.06
7.2.00.0070.00719.11
7.1.200.0080.00415.75
7.1.100.0000.01117.73
7.1.70.0070.00316.87
7.1.60.0120.01219.40
7.1.50.0040.01417.00
7.1.00.0030.07722.32
7.0.200.0050.00516.74
7.0.60.0200.07721.78
7.0.50.0170.06717.82
7.0.40.0070.05020.17
7.0.30.0270.04320.16
7.0.20.0170.04320.16
7.0.10.0030.04320.34
7.0.00.0000.04720.17
5.6.210.0100.07320.55
5.6.200.0030.06318.15
5.6.190.0070.08320.42
5.6.180.0270.08020.28
5.6.170.0200.04320.64
5.6.160.0000.06320.39
5.6.150.0070.08018.14
5.6.140.0070.08018.18
5.6.130.0030.05018.13
5.6.120.0070.06721.16
5.6.110.0100.06021.20
5.6.100.0030.06320.89
5.6.90.0130.07721.09
5.6.80.0030.08720.55
5.5.350.0170.05320.33
5.5.340.0030.03717.99
5.5.330.0030.05720.23
5.5.320.0300.06020.33
5.5.310.0170.04320.51
5.5.300.0130.07717.99
5.5.290.0100.04017.98
5.5.280.0070.04320.90
5.5.270.0070.05720.85
5.5.260.0100.06320.79
5.5.250.0070.08020.73
5.5.240.0200.08020.19

preferences:
78.74 ms | 401 KiB | 5 Q