3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s=<<<DELIM ksj bdkvjbsjkdbvkjsbdkjbsd klsjbdvklsjbdljbsldb ldknfldknfldnfd ldnflndfdlfknldnfldnfkdf if (die()) { // LOL you are an idiot } this is still part of the string DELIM; echo $s;

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.0040.01118.14
8.3.50.0040.01117.80
8.3.40.0090.00618.60
8.3.30.0070.00718.54
8.3.20.0040.00419.17
8.3.10.0050.00323.48
8.3.00.0040.00422.37
8.2.180.0070.01525.92
8.2.170.0130.00318.93
8.2.160.0040.01122.96
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0040.00419.36
8.2.110.0070.00319.33
8.2.100.0060.00617.78
8.2.90.0000.00817.75
8.2.80.0050.00317.97
8.2.70.0030.00518.03
8.2.60.0000.00918.16
8.2.50.0000.00818.10
8.2.40.0040.00420.94
8.2.30.0000.00720.48
8.2.20.0000.00818.06
8.2.10.0000.00718.04
8.2.00.0000.00719.40
8.1.280.0100.01325.92
8.1.270.0060.00323.80
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0100.00723.84
8.1.230.0080.00417.83
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0030.00617.22
8.1.190.0000.00817.00
8.1.180.0080.00018.10
8.1.170.0040.00418.75
8.1.160.0050.00318.92
8.1.150.0040.00418.72
8.1.140.0000.00718.98
8.1.130.0000.00819.06
8.1.120.0040.00417.37
8.1.110.0070.00317.25
8.1.100.0040.00417.27
8.1.90.0060.00317.38
8.1.80.0000.00717.27
8.1.70.0030.00617.29
8.1.60.0000.00817.54
8.1.50.0080.00017.42
8.1.40.0040.00417.51
8.1.30.0040.00417.59
8.1.20.0000.00917.62
8.1.10.0120.00017.51
8.1.00.0000.00717.43
8.0.300.0000.00818.77
8.0.290.0080.00016.60
8.0.280.0030.00318.34
8.0.270.0070.00017.12
8.0.260.0000.00717.27
8.0.250.0060.00316.97
8.0.240.0030.00316.88
8.0.230.0040.00416.84
8.0.220.0050.00216.82
8.0.210.0030.00316.76
8.0.200.0070.00016.80
8.0.190.0030.00516.94
8.0.180.0050.00316.79
8.0.170.0060.00316.82
8.0.160.0040.00416.93
8.0.150.0000.01016.89
8.0.140.0030.00316.89
8.0.130.0000.00513.34
8.0.120.0000.00916.72
8.0.110.0080.00016.76
8.0.100.0040.00416.67
8.0.90.0050.00316.92
8.0.80.0090.00916.80
8.0.70.0000.00716.88
8.0.60.0040.00416.84
8.0.50.0050.00316.87
8.0.30.0090.00817.11
8.0.20.0100.00917.40
8.0.10.0050.00217.06
8.0.00.0060.01116.74
7.4.330.0020.00215.55
7.4.320.0000.00716.38
7.4.300.0000.00616.33
7.4.290.0040.00416.46
7.4.280.0050.00316.53
7.4.270.0000.00716.53
7.4.260.0030.00316.51
7.4.250.0040.00416.43
7.4.240.0050.00316.52
7.4.230.0000.00716.61
7.4.220.0040.00416.22
7.4.210.0070.01116.43
7.4.200.0050.00216.46
7.4.160.0050.01316.39
7.4.140.0110.01017.86
7.4.130.0060.01216.53
7.4.120.0110.01016.47
7.4.110.0130.00316.37
7.4.100.0100.00716.35
7.4.90.0040.01416.36
7.4.80.0140.00319.39
7.4.70.0120.00616.39
7.4.60.0090.00616.48
7.4.50.0060.01216.34
7.4.40.0040.02016.31
7.4.00.0100.00614.58
7.3.330.0030.00313.00
7.3.320.0030.00313.13
7.3.310.0040.00416.32
7.3.300.0000.00716.28
7.3.290.0040.00416.27
7.3.280.0080.00916.29
7.3.260.0110.00716.39
7.3.240.0090.00916.33
7.3.230.0030.02316.41
7.3.210.0100.00716.43
7.3.200.0100.01016.24
7.3.190.0060.01316.21
7.3.180.0090.00616.36
7.3.170.0000.01516.29
7.3.160.0130.00316.30
7.3.120.0140.00314.66
7.3.110.0070.01014.64
7.3.100.0030.01314.98
7.3.90.0060.00314.92
7.3.80.0120.00314.89
7.3.70.0120.00314.83
7.3.60.0000.00814.76
7.3.50.0000.01414.86
7.3.40.0090.00614.88
7.3.30.0140.00314.34
7.3.20.0100.00716.79
7.3.10.0030.01416.50
7.3.00.0040.01216.59
7.2.330.0070.01116.48
7.2.320.0060.01316.51
7.2.310.0120.00616.54
7.2.300.0070.01016.65
7.2.290.0170.00316.20
7.2.250.0070.01014.71
7.2.240.0070.01415.14
7.2.230.0060.00614.90
7.2.220.0030.00714.80
7.2.210.0100.00614.77
7.2.200.0030.00615.01
7.2.190.0030.01014.93
7.2.180.0090.00615.07
7.2.170.0100.00314.93
7.2.80.0800.00314.54
7.2.70.0170.00314.85
7.2.60.0490.00715.00
7.2.50.0960.00014.66
7.2.40.0810.00714.59
7.2.30.1280.01614.93
7.2.20.1710.00614.71
7.2.10.0130.00014.73
7.2.00.1050.00714.48
7.1.330.0030.00915.79
7.1.320.0090.00315.62
7.1.310.0030.00715.70
7.1.300.0060.01115.55
7.1.290.0030.01315.50
7.1.280.0090.00615.59
7.1.270.0130.00315.69
7.1.260.0100.00315.59
7.1.200.0140.00313.68
7.1.190.0080.00813.74
7.1.180.0960.00613.88
7.1.170.0880.00713.85
7.1.160.0820.00613.64
7.1.150.1270.01013.81
7.1.140.1010.00313.49
7.1.130.1180.00913.50
7.1.120.0930.00613.31
7.1.110.0880.00613.68
7.1.100.0680.00313.63
7.1.90.0800.00913.59
7.1.80.1050.01213.54
7.1.70.2610.00313.53
7.1.60.0700.00931.79
7.1.50.0840.01131.80
7.1.40.0290.00331.69
7.1.30.0880.00631.72
7.1.20.0800.00931.60
7.1.10.0740.00613.33
7.1.00.0690.00313.41

preferences:
61.84 ms | 400 KiB | 5 Q