3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 777; // i'm feeling lucky! $b = 'string'; echo "some text $a another $b and another text"; echo '... some text ' . $a . ' another ' . $b . ' and another text';

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.70.0060.01318.30
8.3.60.0040.01118.31
8.3.50.0120.00522.11
8.3.40.0120.00318.58
8.3.30.0070.00718.46
8.3.20.0080.00018.51
8.3.10.0000.00821.09
8.3.00.0050.00319.66
8.2.180.0110.01116.50
8.2.170.0110.00422.96
8.2.160.0100.00320.47
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0080.00021.06
8.2.110.0060.00320.58
8.2.100.0040.00717.78
8.2.90.0080.00019.17
8.2.80.0040.00419.21
8.2.70.0030.00617.50
8.2.60.0000.00717.93
8.2.50.0030.00518.07
8.2.40.0000.00718.28
8.2.30.0000.00721.18
8.2.20.0070.00017.52
8.2.10.0000.00717.77
8.2.00.0000.00717.59
8.1.280.0100.00725.92
8.1.270.0000.00723.99
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00322.59
8.1.230.0070.00420.96
8.1.220.0040.00418.77
8.1.210.0000.00818.89
8.1.200.0060.00317.35
8.1.190.0000.00717.30
8.1.180.0040.00418.10
8.1.170.0000.00818.59
8.1.160.0050.00218.94
8.1.150.0050.00318.63
8.1.140.0000.00717.48
8.1.130.0070.00017.82
8.1.120.0000.00717.47
8.1.110.0000.00817.33
8.1.100.0030.00417.39
8.1.90.0000.00817.50
8.1.80.0040.00417.32
8.1.70.0050.00317.40
8.1.60.0030.00617.46
8.1.50.0000.00717.42
8.1.40.0040.00417.50
8.1.30.0000.00817.62
8.1.20.0080.00017.53
8.1.10.0050.00217.47
8.1.00.0030.00517.42
8.0.300.0070.00020.02
8.0.290.0050.00217.15
8.0.280.0000.00718.37
8.0.270.0000.00717.15
8.0.260.0000.00716.80
8.0.250.0070.00016.82
8.0.240.0040.00416.98
8.0.230.0030.00316.89
8.0.220.0030.00316.91
8.0.210.0000.00716.81
8.0.200.0060.00016.93
8.0.190.0040.00416.93
8.0.180.0040.00416.79
8.0.170.0040.00416.93
8.0.160.0050.00216.96
8.0.150.0070.00016.75
8.0.140.0060.00616.73
8.0.130.0030.00313.27
8.0.120.0030.00616.77
8.0.110.0000.00716.98
8.0.100.0000.00716.82
8.0.90.0040.00416.86
8.0.80.0060.01016.92
8.0.70.0000.00816.83
8.0.60.0000.00816.72
8.0.50.0040.00416.94
8.0.30.0140.01016.95
8.0.20.0130.01117.40
8.0.10.0000.00716.89
8.0.00.0100.00916.74
7.4.330.0000.00414.97
7.4.320.0040.00416.50
7.4.300.0030.00316.58
7.4.290.0000.00716.47
7.4.280.0000.00716.56
7.4.270.0030.00316.63
7.4.260.0050.00013.18
7.4.250.0070.00016.54
7.4.240.0000.00716.61
7.4.230.0030.00316.41
7.4.220.0180.00316.43
7.4.210.0100.00716.45
7.4.200.0040.00216.55
7.4.190.0040.00316.70
7.4.160.0040.01216.19
7.4.150.0100.01017.40
7.4.140.0120.00617.86
7.4.130.0100.00716.45
7.4.120.0090.00816.55
7.4.110.0070.01116.37
7.4.100.0090.00916.32
7.4.90.0100.00716.34
7.4.80.0030.01319.39
7.4.70.0040.01216.35
7.4.60.0150.00616.31
7.4.50.0000.00916.25
7.4.40.0070.00522.77
7.4.30.0120.00916.32
7.4.00.0070.00914.82
7.3.330.0000.00513.00
7.3.320.0050.00313.15
7.3.310.0030.00316.36
7.3.300.0040.00416.31
7.3.290.0090.00516.34
7.3.280.0100.00816.32
7.3.270.0110.00617.40
7.3.260.0100.01018.24
7.3.250.0050.01116.45
7.3.240.0060.00916.33
7.3.230.0110.00716.39
7.3.210.0030.01316.35
7.3.200.0110.01119.39
7.3.190.0090.01016.41
7.3.180.0030.01316.55
7.3.170.0120.00916.53
7.3.160.0140.00316.46
7.3.120.0020.01414.94
7.3.110.0100.00614.78
7.3.100.0060.01214.92
7.3.90.0030.01014.95
7.3.80.0050.01014.87
7.3.70.0100.00314.78
7.3.60.0020.01214.78
7.3.50.0050.01014.84
7.3.40.0030.01114.78
7.3.30.0060.00814.56
7.3.20.0110.00316.70
7.3.10.0080.00916.64
7.3.00.0070.00416.78
7.2.330.0090.00916.63
7.2.320.0090.01016.57
7.2.310.0040.01416.32
7.2.300.0040.01216.43
7.2.290.0100.00616.65
7.2.250.0070.01015.02
7.2.240.0070.01214.91
7.2.230.0050.01114.76
7.2.220.0060.00914.92
7.2.210.0090.01014.89
7.2.200.0020.01214.81
7.2.190.0060.01014.73
7.2.180.0030.00614.89
7.2.170.0020.00814.87
7.2.00.0070.00719.39
7.1.330.0080.00515.68
7.1.320.0080.00415.68
7.1.310.0040.01415.64
7.1.300.0030.00815.73
7.1.290.0080.00515.75
7.1.280.0070.00815.78
7.1.270.0060.01015.51
7.1.260.0050.00615.71
7.1.100.0090.00618.12
7.1.70.0000.00817.02
7.1.60.0080.00517.18
7.1.50.0110.00016.95
7.1.40.0000.01316.43
7.1.30.0000.01316.65
7.1.20.0060.00616.82
7.1.10.0070.00416.39
7.1.00.0000.01016.79
7.0.200.0000.00816.85
7.0.190.0090.00316.39
7.0.180.0030.01316.39
7.0.170.0040.00416.39
7.0.160.0000.00816.39
7.0.150.0000.00716.39
7.0.140.0000.01316.39
7.0.130.0000.00716.63
7.0.120.0000.00816.46
7.0.110.0080.00616.39
7.0.100.0030.00716.48
7.0.90.0060.00616.47
7.0.80.0030.00616.39
7.0.70.0000.01416.47
7.0.60.0000.01616.39
7.0.50.0000.00716.46
7.0.40.0000.00816.39
7.0.30.0000.00816.39
7.0.20.0000.01016.39
7.0.10.0000.00716.39
7.0.00.0070.00316.39
5.6.300.0030.05220.67
5.6.290.0030.05620.66
5.6.280.0030.04020.98
5.6.270.0200.03720.89
5.6.260.0000.08320.96
5.6.250.0060.05120.80
5.6.240.0030.05120.84
5.6.230.0030.04420.89
5.6.220.0100.07920.77
5.6.210.0030.04020.92
5.6.200.0000.09120.93
5.6.190.0230.03520.78
5.6.180.0070.04320.91
5.6.170.0090.03820.73
5.6.160.0030.08020.76
5.6.150.0060.04820.85
5.6.140.0060.04520.79
5.6.130.0000.04420.97
5.6.120.0030.04220.96
5.6.110.0000.04320.73
5.6.100.0030.04320.85
5.6.90.0000.04520.97
5.6.80.0030.03820.10
5.6.70.0030.04120.13
5.6.60.0030.05220.35
5.6.50.0100.04320.10
5.6.40.0100.04620.09
5.6.30.0100.03820.09
5.6.20.0100.06120.14
5.6.10.0000.04320.32
5.6.00.0000.04220.16
5.5.380.0070.03717.44
5.5.370.0030.04417.55
5.5.360.0100.03917.43
5.5.350.0070.03517.45
5.5.340.0060.04518.01
5.5.330.0070.03618.04
5.5.320.0100.03318.01
5.5.310.0070.03717.97
5.5.300.0070.05018.01
5.5.290.0030.07117.71
5.5.280.0030.05318.02
5.5.270.0000.04317.73
5.5.260.0030.04017.82
5.5.250.0040.03917.83
5.5.240.0000.04017.34
5.5.230.0100.03517.20
5.5.220.0030.03617.30
5.5.210.0060.03417.31
5.5.200.0070.03317.38
5.5.190.0000.07817.31
5.5.180.0000.07817.32
5.5.160.0070.04017.36
5.5.150.0000.04217.34
5.5.140.0000.04217.34
5.5.130.0060.04117.45
5.5.120.0070.05017.27
5.5.110.0000.05717.44
5.5.100.0070.07617.29
5.5.90.0000.04917.27
5.5.80.0000.04116.98
5.5.70.0030.05717.24
5.5.60.0030.06617.07
5.5.50.0070.07417.24
5.5.40.0000.04016.94
5.5.30.0030.03817.19
5.5.20.0000.08117.06
5.5.10.0030.04017.17
5.5.00.0000.08317.23
5.4.450.0100.06419.15
5.4.440.0070.06819.30
5.4.430.0030.03819.38
5.4.420.0230.04219.17
5.4.410.0060.04119.04
5.4.400.0030.05819.08
5.4.390.0000.04819.04
5.4.380.0000.04019.01
5.4.370.0030.03818.84
5.4.360.0060.06819.04
5.4.350.0030.08218.82
5.4.340.0030.04218.82
5.4.320.0100.05618.82
5.4.310.0030.03818.94
5.4.300.0060.03819.03
5.4.290.0100.04119.14
5.4.280.0030.04619.11
5.4.270.0000.08318.81
5.4.260.0030.04219.05
5.4.250.0100.03318.98
5.4.240.0000.05418.96
5.4.230.0000.08119.05
5.4.220.0100.03219.05
5.4.210.0030.06618.99
5.4.200.0070.07218.81
5.4.190.0000.08118.96
5.4.180.0030.06518.96
5.4.170.0000.04119.16
5.4.160.0030.07719.01
5.4.150.0030.04518.79
5.4.140.0000.03816.47
5.4.130.0000.07416.43
5.4.120.0030.07116.39
5.4.110.0000.07316.43
5.4.100.0070.04116.61
5.4.90.0030.03516.64
5.4.80.0000.05816.56
5.4.70.0070.06216.39
5.4.60.0000.03816.39
5.4.50.0030.05116.39
5.4.40.0030.04416.39
5.4.30.0030.03616.44
5.4.20.0030.03516.39
5.4.10.0000.03916.55
5.4.00.0130.03316.39
5.3.290.0000.04016.39
5.3.280.0030.04016.39
5.3.270.0000.04316.39
5.3.260.0100.06816.39
5.3.250.0100.07516.39
5.3.240.0040.04616.39
5.3.230.0130.06316.39
5.3.220.0100.04216.39
5.3.210.0030.05116.39
5.3.200.0030.03616.39
5.3.190.0070.03416.39
5.3.180.0030.03816.39
5.3.170.0100.05716.39
5.3.160.0000.04416.39
5.3.150.0030.06016.39
5.3.140.0090.04116.39
5.3.130.0070.03416.39
5.3.120.0000.04516.39
5.3.110.0060.03516.39
5.3.100.0070.03316.39
5.3.90.0130.03016.39
5.3.80.0100.03616.39
5.3.70.0000.04216.39
5.3.60.0070.03416.39
5.3.50.0060.03216.39
5.3.40.0070.04216.39
5.3.30.0030.04416.39
5.3.20.0030.03716.39
5.3.10.0030.03916.39
5.3.00.0030.03816.39
5.2.170.0000.03416.39
5.2.160.0040.02916.39
5.2.150.0030.03516.39
5.2.140.0030.03116.39
5.2.130.0070.05416.39
5.2.120.0130.03316.39
5.2.110.0000.03516.39
5.2.100.0030.02816.39
5.2.90.0030.04216.39
5.2.80.0000.04316.39
5.2.70.0000.03216.39
5.2.60.0000.03316.39
5.2.50.0030.03216.39
5.2.40.0070.02816.39
5.2.30.0030.04016.39
5.2.20.0030.03316.39
5.2.10.0030.02716.39
5.2.00.0030.03516.39
5.1.60.0000.02816.39
5.1.50.0030.02416.39
5.1.40.0090.02216.39
5.1.30.0030.02716.39
5.1.20.0120.02316.39
5.1.10.0000.03016.39
5.1.00.0060.02316.39
5.0.50.0000.02616.39
5.0.40.0000.02616.39
5.0.30.0000.03616.39
5.0.20.0030.01716.39
5.0.10.0030.02616.39
5.0.00.0060.02716.39
4.4.90.0000.02016.39
4.4.80.0000.02016.39
4.4.70.0000.01716.39
4.4.60.0030.01616.39
4.4.50.0000.02116.39
4.4.40.0000.02716.39
4.4.30.0000.02116.39
4.4.20.0000.01716.39
4.4.10.0070.01116.39
4.4.00.0000.02716.39
4.3.110.0000.02116.39
4.3.100.0000.01916.39
4.3.90.0000.01816.39
4.3.80.0060.01916.39
4.3.70.0000.01716.39
4.3.60.0060.01016.39
4.3.50.0000.01616.39
4.3.40.0000.02516.39
4.3.30.0000.01716.39
4.3.20.0060.01216.39
4.3.10.0030.01416.39
4.3.00.0000.01616.39

preferences:
38.28 ms | 401 KiB | 5 Q