3v4l.org

run code in 300+ PHP versions simultaneously
<?php // What will this print out in php5? $string1 = "Hello " . $string2 = 'World' . '!'; $string = $string1 . $string2; echo $string;

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.40.0090.00918.72
8.3.30.0060.00918.72
8.3.20.0040.00421.77
8.3.10.0000.00821.60
8.3.00.0080.00021.77
8.2.170.0180.00022.96
8.2.160.0080.00520.39
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00419.18
8.2.120.0050.00226.35
8.2.110.0090.00022.16
8.2.100.0080.00417.91
8.2.90.0060.00317.91
8.2.80.0040.00419.31
8.2.70.0040.00417.93
8.2.60.0040.00417.93
8.2.50.0000.00718.22
8.2.40.0040.00420.45
8.2.30.0040.00419.50
8.2.20.0080.00017.92
8.2.10.0000.00718.10
8.2.00.0040.00418.16
8.1.270.0040.00422.08
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0080.00322.05
8.1.230.0040.00720.94
8.1.220.0030.00617.74
8.1.210.0030.00518.77
8.1.200.0090.00017.36
8.1.190.0050.00317.13
8.1.180.0050.00318.10
8.1.170.0070.00018.76
8.1.160.0050.00218.81
8.1.150.0000.00719.00
8.1.140.0080.00017.62
8.1.130.0000.00719.05
8.1.120.0000.00717.43
8.1.110.0000.00717.44
8.1.100.0000.00717.21
8.1.90.0050.00317.38
8.1.80.0040.00417.40
8.1.70.0000.00617.34
8.1.60.0040.00417.47
8.1.50.0040.00417.48
8.1.40.0030.00617.48
8.1.30.0060.00317.61
8.1.20.0050.00317.59
8.1.10.0030.00617.43
8.1.00.0000.00717.40
8.0.300.0040.00420.04
8.0.290.0040.00416.63
8.0.280.0030.00318.35
8.0.270.0000.00717.15
8.0.260.0000.00719.02
8.0.250.0000.00716.84
8.0.240.0000.00716.83
8.0.230.0000.00716.95
8.0.220.0070.00016.88
8.0.210.0000.00716.90
8.0.200.0000.00716.85
8.0.190.0040.00416.82
8.0.180.0040.00416.88
8.0.170.0000.00916.95
8.0.160.0050.00316.86
8.0.150.0040.00416.79
8.0.140.0070.00016.75
8.0.130.0050.00013.27
8.0.120.0040.00416.89
8.0.110.0000.00716.79
8.0.100.0040.00416.70
8.0.90.0000.00716.96
8.0.80.0070.01016.86
8.0.70.0070.00016.94
8.0.60.0020.00516.91
8.0.50.0040.00416.72
8.0.30.0110.01017.11
8.0.20.0120.00617.40
8.0.10.0000.00816.80
8.0.00.0110.00616.68
7.4.330.0000.00515.55
7.4.320.0070.00016.43
7.4.300.0000.00716.52
7.4.290.0100.00016.51
7.4.280.0000.00816.45
7.4.270.0030.00316.46
7.4.260.0040.00416.30
7.4.250.0040.00316.49
7.4.240.0000.00716.41
7.4.230.0030.00316.35
7.4.220.0000.00816.55
7.4.210.0120.00516.51
7.4.200.0040.00316.59
7.4.160.0070.00816.42
7.4.140.0090.01017.86
7.4.130.0150.00316.27
7.4.120.0140.00616.45
7.4.110.0100.01016.37
7.4.100.0090.00916.48
7.4.90.0130.00416.48
7.4.80.0130.01019.39
7.4.70.0130.01016.41
7.4.60.0030.01616.49
7.4.50.0130.00316.48
7.4.40.0160.00716.43
7.4.00.0060.00915.10
7.3.330.0020.00213.14
7.3.320.0060.00012.97
7.3.310.0070.00016.29
7.3.300.0040.00416.14
7.3.290.0070.00016.09
7.3.280.0090.00716.25
7.3.260.0080.00916.30
7.3.240.0090.00916.30
7.3.230.0140.00316.34
7.3.210.0060.01116.48
7.3.200.0040.01116.23
7.3.190.0090.01216.57
7.3.180.0070.00716.57
7.3.170.0080.00816.28
7.3.160.0060.01216.28
7.2.330.0030.01916.30
7.2.320.0120.01216.62
7.2.310.0110.00516.45
7.2.300.0120.00816.35
7.2.290.0060.01016.39
7.2.60.0040.00716.57
7.2.40.0830.00917.94
7.2.30.1240.01118.10
7.2.20.0550.01017.74
7.2.10.0580.01417.85
7.2.00.0610.01417.69
7.1.200.0090.00615.62
7.1.160.0200.01116.63
7.1.150.0090.01116.61
7.1.140.0520.01116.86
7.1.130.0100.00816.75
7.1.120.0780.01016.71
7.1.110.0790.00915.93
7.1.100.0680.01115.89
7.1.90.0720.00515.84
7.1.80.1010.01016.20
7.1.70.0610.01014.93
7.1.60.0850.01433.09
7.1.50.0790.01332.78
7.1.40.0880.01532.43
7.1.30.1040.01132.75
7.1.20.0980.01732.75
7.1.10.0740.01014.76
7.1.00.0850.01014.83

preferences:
61.39 ms | 400 KiB | 5 Q