3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 42; echo "lorem $foo ipsum {$foo} dolor";

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.80.0100.00016.63
8.3.70.0100.01016.50
8.3.60.0160.00318.25
8.3.50.0100.00521.92
8.3.40.0070.00718.68
8.3.30.0150.00618.89
8.3.20.0040.00420.16
8.3.10.0000.00823.65
8.3.00.0030.00520.84
8.2.200.0090.00016.25
8.2.190.0120.00416.58
8.2.180.0110.00416.32
8.2.170.0070.00722.96
8.2.160.0110.00320.38
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0110.00326.16
8.2.120.0000.00820.58
8.2.110.0060.00322.31
8.2.100.0100.00017.87
8.2.90.0040.00419.05
8.2.80.0030.00618.04
8.2.70.0090.00017.63
8.2.60.0000.00817.91
8.2.50.0080.00018.07
8.2.40.0000.00819.88
8.2.30.0080.00018.25
8.2.20.0040.00417.67
8.2.10.0040.00418.11
8.2.00.0070.00017.68
8.1.290.0060.00330.84
8.1.280.0090.00625.92
8.1.270.0080.00023.82
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0190.00323.79
8.1.230.0000.01118.89
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0000.00917.13
8.1.190.0040.00417.23
8.1.180.0030.00618.10
8.1.170.0000.00718.43
8.1.160.0040.00421.86
8.1.150.0000.00718.48
8.1.140.0000.00817.29
8.1.130.0000.00717.78
8.1.120.0030.00317.33
8.1.110.0040.00417.43
8.1.100.0000.00817.45
8.1.90.0000.00817.36
8.1.80.0000.00717.36
8.1.70.0000.00817.38
8.1.60.0040.00417.53
8.1.50.0040.00417.36
8.1.40.0000.00717.34
8.1.30.0070.00317.58
8.1.20.0060.00317.58
8.1.10.0040.00417.50
8.1.00.0030.00517.45
8.0.300.0000.00720.70
8.0.290.0020.00517.00
8.0.280.0000.00718.35
8.0.270.0070.00016.77
8.0.260.0030.00317.26
8.0.250.0030.00316.84
8.0.240.0050.00316.84
8.0.230.0000.00717.00
8.0.220.0000.00816.94
8.0.210.0040.00416.93
8.0.200.0000.00716.93
8.0.190.0070.00017.02
8.0.180.0050.00316.95
8.0.170.0040.00416.91
8.0.160.0040.00416.89
8.0.150.0050.00216.89
8.0.140.0000.00716.87
8.0.130.0030.00313.36
8.0.120.0000.00816.83
8.0.110.0000.00716.98
8.0.100.0060.00316.84
8.0.90.0080.00016.77
8.0.80.0060.01116.94
8.0.70.0070.00016.87
8.0.60.0000.00816.89
8.0.50.0070.00016.92
8.0.30.0150.00717.08
8.0.20.0100.00817.40
8.0.10.0070.00016.75
8.0.00.0080.01116.65
7.4.330.0020.00315.02
7.4.320.0050.00316.40
7.4.300.0030.00316.43
7.4.290.0070.00016.55
7.4.280.0030.00316.46
7.4.270.0030.00316.44
7.4.260.0000.00716.40
7.4.250.0040.00416.41
7.4.240.0020.00516.48
7.4.230.0030.00316.57
7.4.220.0100.00716.44
7.4.210.0050.01116.52
7.4.200.0000.00716.53
7.4.190.0070.00016.50
7.4.160.0100.00616.35
7.4.150.0070.01017.40
7.4.140.0130.00617.86
7.4.130.0120.00616.46
7.4.120.0090.00716.46
7.4.110.0140.00816.52
7.4.100.0190.00016.47
7.4.90.0100.00616.50
7.4.80.0120.00919.39
7.4.70.0000.02116.33
7.4.60.0070.01016.14
7.4.50.0000.00916.57
7.4.40.0100.00616.63
7.4.30.0090.00916.48
7.4.10.0090.00915.72
7.4.00.0080.00815.27
7.3.330.0060.00013.11
7.3.320.0000.00512.97
7.3.310.0040.00416.27
7.3.300.0000.00716.07
7.3.290.0070.00716.31
7.3.280.0100.01016.22
7.3.270.0140.00317.40
7.3.260.0120.00616.32
7.3.250.0090.00916.48
7.3.240.0090.00916.31
7.3.230.0040.01416.56
7.3.210.0030.01316.39
7.3.200.0090.00919.39
7.3.190.0180.01816.43
7.3.180.0130.00316.55
7.3.170.0080.00816.27
7.3.160.0100.01016.36
7.3.130.0110.00515.57
7.3.120.0060.01115.34
7.3.110.0070.01015.56
7.3.100.0070.00815.52
7.3.90.0070.00515.56
7.3.80.0080.00515.35
7.3.70.0070.00615.49
7.3.60.0060.00815.40
7.3.50.0100.00615.58
7.3.40.0080.00515.58
7.3.30.0030.01015.54
7.3.20.0090.00417.23
7.3.10.0100.00517.30
7.3.00.0060.00617.32
7.2.330.0000.01716.57
7.2.320.0150.00816.59
7.2.310.0070.01116.64
7.2.300.0070.01016.25
7.2.290.0070.01116.54
7.2.260.0080.00715.60
7.2.250.0080.00515.72
7.2.240.0100.00515.77
7.2.230.0080.00815.72
7.2.220.0060.00715.42
7.2.210.0080.00715.67
7.2.200.0020.01315.79
7.2.190.0100.00615.66
7.2.180.0100.00715.65
7.2.170.0030.00915.59
7.2.160.0090.00715.62
7.2.150.0030.01217.58
7.2.140.0050.01017.51
7.2.130.0090.00717.54
7.2.120.0070.00517.55
7.2.110.0070.00717.63
7.2.100.0120.00317.42
7.2.90.0080.00617.49
7.2.80.0030.01317.51
7.2.70.0080.00617.47
7.2.60.0050.00817.63
7.2.50.0100.00517.45
7.2.40.0030.00717.48
7.2.30.0050.00917.57
7.2.20.0070.00817.60
7.2.10.0070.00817.50
7.2.00.0050.00718.04
7.1.330.0070.00916.46
7.1.320.0070.00716.54
7.1.310.0060.00616.51
7.1.300.0030.01416.37
7.1.290.0070.00216.37
7.1.280.0030.01016.46
7.1.270.0080.00616.35
7.1.260.0050.00516.51
7.1.250.0090.00616.46
7.1.240.0040.00916.38
7.1.230.0030.01116.30
7.1.220.0040.01116.27
7.1.210.0020.01316.50
7.1.200.0070.00716.24
7.1.190.0050.00516.32
7.1.180.0090.00516.24
7.1.170.0050.00916.40
7.1.160.0040.00916.28
7.1.150.0070.00616.23
7.1.140.0080.00716.24
7.1.130.0020.01016.36
7.1.120.0050.00816.31
7.1.110.0060.00516.35
7.1.100.0030.00716.84
7.1.90.0080.00416.54
7.1.80.0060.00616.42
7.1.70.0030.01016.68
7.1.60.0070.00917.48
7.1.50.0050.01116.40
7.1.40.0030.00816.30
7.1.30.0060.00616.44
7.1.20.0090.00516.26
7.1.10.0070.00516.38
7.1.00.0020.03118.45
7.0.330.0050.00716.05
7.0.320.0070.00516.18
7.0.310.0020.01216.18
7.0.300.0010.01116.19
7.0.290.0050.00716.22
7.0.280.0040.00816.01
7.0.270.0070.00715.99
7.0.260.0030.01016.19
7.0.250.0050.00816.26
7.0.240.0040.00916.14
7.0.230.0060.00615.99
7.0.220.0040.00716.24
7.0.210.0040.00716.18
7.0.200.0060.00316.34
7.0.190.0030.00616.20
7.0.180.0050.00916.22
7.0.170.0080.00316.16
7.0.160.0060.00616.17
7.0.150.0070.00616.19
7.0.140.0050.02718.07
7.0.130.0070.00716.18
7.0.120.0050.00916.07
7.0.110.0090.00516.19
7.0.100.0070.02317.38
7.0.90.0040.01717.42
7.0.80.0020.01917.46
7.0.70.0040.01717.32
7.0.60.0050.01717.40
7.0.50.0070.01517.40
7.0.40.0070.01716.16
7.0.30.0070.01316.11
7.0.20.0110.02116.15
7.0.10.0060.02416.06
7.0.00.0040.02316.06
5.6.400.0040.01115.13
5.6.390.0030.00815.25
5.6.380.0050.00615.21
5.6.370.0050.01015.16
5.6.360.0020.01114.94
5.6.350.0070.00715.12
5.6.340.0060.00514.86
5.6.330.0030.00815.12
5.6.320.0050.01115.07
5.6.310.0010.00914.91
5.6.300.0080.00715.18
5.6.290.0050.01015.17
5.6.280.0050.02916.94
5.6.270.0030.01114.86
5.6.260.0050.01114.89
5.6.250.0030.01816.89
5.6.240.0030.01816.90
5.6.230.0020.02216.84
5.6.220.0080.01316.79
5.6.210.0040.01516.87
5.6.200.0020.01817.07
5.6.190.0070.01816.92
5.6.180.0060.01417.03
5.6.170.0040.01616.90
5.6.160.0080.01616.99
5.6.150.0060.01916.91
5.6.140.0060.02216.99
5.6.130.0040.02317.02
5.6.120.0120.02616.95
5.6.110.0100.02017.09
5.6.100.0030.02717.09
5.6.90.0060.02717.06
5.6.80.0080.01716.74
5.6.70.0040.03216.78
5.6.60.0060.02616.71
5.6.50.0090.03016.78
5.6.40.0060.03016.83
5.6.30.0060.03016.67
5.6.20.0060.01916.76
5.6.10.0040.03716.85
5.6.00.0020.02316.78
5.5.380.0080.01416.65
5.5.370.0050.01716.63
5.5.360.0030.01716.67
5.5.350.0060.01716.68
5.5.340.0070.01516.79
5.5.330.0050.01716.75
5.5.320.0070.01516.69
5.5.310.0090.01416.74
5.5.300.0070.02516.83
5.5.290.0020.02717.02
5.5.280.0020.02416.79
5.5.270.0070.02717.00
5.5.260.0030.02716.90
5.5.250.0100.02116.70
5.5.240.0090.01916.52
5.5.230.0030.03316.55
5.5.220.0100.02416.59
5.5.210.0060.02716.54
5.5.200.0040.02416.50
5.5.190.0050.02516.70
5.5.180.0070.02616.66
5.5.170.0050.00914.75
5.5.160.0080.03216.53
5.5.150.0060.03216.53
5.5.140.0050.02916.46
5.5.130.0090.02916.60
5.5.120.0060.02316.52
5.5.110.0040.02516.43
5.5.100.0080.01916.47
5.5.90.0080.02216.50
5.5.80.0150.02116.67
5.5.70.0090.01916.64
5.5.60.0020.03216.44
5.5.50.0110.01516.60
5.5.40.0050.01916.39
5.5.30.0060.01916.62
5.5.20.0050.02616.56
5.5.10.0060.01716.45
5.5.00.0040.02916.51
5.4.450.0050.02114.49
5.4.440.0040.02514.53
5.4.430.0070.01914.47
5.4.420.0040.02114.43
5.4.410.0070.02814.44
5.4.400.0070.02214.29
5.4.390.0090.02014.30
5.4.380.0090.01714.31
5.4.370.0030.02114.37
5.4.360.0030.02014.35
5.4.350.0050.02314.37
5.4.340.0070.02014.27
5.4.330.0020.00911.92
5.4.320.0050.02614.50
5.4.310.0050.03014.32
5.4.300.0120.02514.30
5.4.290.0040.03014.24
5.4.280.0040.03014.31
5.4.270.0070.02814.36
5.4.260.0050.01714.38
5.4.250.0070.01714.29
5.4.240.0010.02614.29
5.4.230.0030.02814.46
5.4.220.0050.02514.42
5.4.210.0050.01914.43
5.4.200.0050.02514.31
5.4.190.0080.01914.39
5.4.180.0070.02714.49
5.4.170.0040.02914.29
5.4.160.0050.02114.36
5.4.150.0040.02014.34
5.4.140.0100.01913.41
5.4.130.0050.02713.50
5.4.120.0050.02013.54
5.4.110.0060.02013.45
5.4.100.0050.01913.47
5.4.90.0010.02413.48
5.4.80.0040.02313.38
5.4.70.0060.02013.45
5.4.60.0070.01913.46
5.4.50.0040.01913.49
5.4.40.0070.02013.45
5.4.30.0060.01613.36
5.4.20.0080.01913.36
5.4.10.0050.01513.39
5.4.00.0020.02013.25
5.3.290.0040.01813.08
5.3.280.0020.02313.11
5.3.270.0050.02313.09
5.3.260.0040.02413.13
5.3.250.0010.02613.11
5.3.240.0070.01913.02
5.3.230.0040.02413.06
5.3.220.0050.02413.03
5.3.210.0090.02213.03
5.3.200.0050.02712.98
5.3.190.0050.02313.04
5.3.180.0030.03413.10
5.3.170.0100.01812.98
5.3.160.0070.02313.02
5.3.150.0050.02513.03
5.3.140.0070.02213.05
5.3.130.0050.02413.06
5.3.120.0040.01912.98
5.3.110.0080.01813.01
5.3.100.0020.01812.85
5.3.90.0040.01712.94
5.3.80.0060.01812.85
5.3.70.0040.02012.88
5.3.60.0040.01512.86
5.3.50.0060.01512.80
5.3.40.0050.01612.75
5.3.30.0110.01912.82
5.3.20.0070.02112.73
5.3.10.0030.02012.66
5.3.00.0050.02412.71
5.2.170.0000.04011.06
5.2.160.0100.02711.00
5.2.150.0130.03711.14
5.2.140.0000.04311.14
5.2.130.0070.03311.09
5.2.120.0030.04011.11
5.2.110.0070.04711.02
5.2.100.0070.03711.05
5.2.90.0070.05011.17
5.2.80.0030.04710.95
5.2.70.0070.04011.14
5.2.60.0000.04010.91
5.2.50.0000.04711.00
5.2.40.0030.04010.94
5.2.30.0000.03310.96
5.2.20.0030.04010.95
5.2.10.0130.02310.96
5.2.00.0000.03710.82
5.1.60.0030.03010.47
5.1.50.0030.04310.47
5.1.40.0070.03010.47
5.1.30.0030.03010.47
5.1.20.0030.04010.47
5.1.10.0030.03310.47
5.1.00.0030.04310.47
5.0.50.0030.03710.47
5.0.40.0030.04310.47
5.0.30.0130.02710.47
5.0.20.0070.02310.47
5.0.10.0030.02710.47
5.0.00.0130.03010.47
4.4.90.0070.02710.47
4.4.80.0070.02310.47
4.4.70.0030.01710.47
4.4.60.0030.03010.47
4.4.50.0030.02310.47
4.4.40.0000.03310.47
4.4.30.0100.01710.47
4.4.20.0000.01710.47
4.4.10.0000.02710.47
4.4.00.0030.04310.47
4.3.110.0030.02010.47
4.3.100.0030.02310.47
4.3.90.0000.02010.47
4.3.80.0030.04010.47
4.3.70.0000.02310.47
4.3.60.0130.01310.47
4.3.50.0000.03710.47
4.3.40.0030.05010.47
4.3.30.0070.02310.47
4.3.20.0000.03010.47
4.3.10.0100.02710.47
4.3.00.0030.02310.47

preferences:
50.3 ms | 401 KiB | 5 Q