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.60.0110.00418.18
8.3.50.0090.00821.14
8.3.40.0090.00918.54
8.3.30.0070.00718.63
8.3.20.0040.00418.48
8.3.10.0040.00421.12
8.3.00.0060.00319.64
8.2.180.0150.00016.75
8.2.170.0160.00622.96
8.2.160.0070.00720.18
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00421.03
8.2.110.0110.00020.52
8.2.100.0120.00017.91
8.2.90.0040.00419.16
8.2.80.0040.00419.46
8.2.70.0050.00317.63
8.2.60.0080.00017.93
8.2.50.0090.00018.07
8.2.40.0000.00717.91
8.2.30.0040.00419.48
8.2.20.0030.00617.66
8.2.10.0030.00517.67
8.2.00.0000.00917.60
8.1.280.0110.00425.92
8.1.270.0080.00023.99
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00322.54
8.1.230.0000.01220.88
8.1.220.0000.00918.77
8.1.210.0030.00518.82
8.1.200.0030.00617.25
8.1.190.0040.00417.39
8.1.180.0040.00718.10
8.1.170.0030.00518.64
8.1.160.0040.00418.76
8.1.150.0020.00518.67
8.1.140.0040.00417.49
8.1.130.0050.00317.87
8.1.120.0000.00717.41
8.1.110.0000.00817.43
8.1.100.0040.00417.39
8.1.90.0040.00417.32
8.1.80.0040.00417.34
8.1.70.0000.00717.36
8.1.60.0040.00417.50
8.1.50.0040.00417.51
8.1.40.0040.00417.45
8.1.30.0000.00717.55
8.1.20.0030.00517.52
8.1.10.0000.00717.50
8.1.00.0000.00817.41
8.0.300.0000.00719.90
8.0.290.0040.00417.17
8.0.280.0000.00718.35
8.0.270.0030.00317.31
8.0.260.0080.00016.80
8.0.250.0000.00716.93
8.0.240.0080.00017.00
8.0.230.0000.00716.82
8.0.220.0000.00616.78
8.0.210.0050.00316.87
8.0.200.0000.00616.93
8.0.190.0000.00716.94
8.0.180.0080.00016.89
8.0.170.0000.00716.92
8.0.160.0070.00016.96
8.0.150.0000.00716.77
8.0.140.0030.00516.76
8.0.130.0060.00013.39
8.0.120.0050.00316.82
8.0.110.0070.00016.73
8.0.100.0000.00716.74
8.0.90.0000.00716.89
8.0.80.0070.01016.90
8.0.70.0000.00716.94
8.0.60.0040.00416.74
8.0.50.0050.00316.69
8.0.30.0120.00716.84
8.0.20.0120.00617.40
8.0.10.0000.00817.00
8.0.00.0110.00916.81
7.4.330.0050.00016.83
7.4.320.0030.00316.50
7.4.300.0070.00016.59
7.4.290.0000.00716.43
7.4.280.0030.00316.59
7.4.270.0000.00616.39
7.4.260.0030.00313.29
7.4.250.0040.00416.55
7.4.240.0030.00316.63
7.4.230.0000.00716.42
7.4.220.0090.00816.36
7.4.210.0080.00716.43
7.4.200.0080.00016.59
7.4.190.0030.00316.48
7.4.160.0160.00616.45
7.4.150.0170.00017.40
7.4.140.0090.00917.86
7.4.130.0070.01116.42
7.4.120.0080.01016.45
7.4.110.0060.01216.62
7.4.100.0130.00316.62
7.4.90.0110.00716.39
7.4.80.0110.00719.39
7.4.70.0120.00916.40
7.4.60.0000.01616.36
7.4.50.0000.00816.53
7.4.40.0030.01222.77
7.4.30.0110.01116.43
7.4.00.0030.00714.69
7.3.330.0030.00313.07
7.3.320.0000.00513.11
7.3.310.0030.00316.38
7.3.300.0070.00016.33
7.3.290.0100.00316.35
7.3.280.0100.00616.33
7.3.270.0120.00617.40
7.3.260.0120.00918.24
7.3.250.0120.01116.42
7.3.240.0100.00616.32
7.3.230.0080.00816.63
7.3.210.0100.00716.25
7.3.200.0110.00719.39
7.3.190.0070.01016.22
7.3.180.0040.01316.34
7.3.170.0090.00616.54
7.3.160.0090.00916.14
7.3.120.0030.00714.77
7.2.330.0090.00916.57
7.2.320.0030.01316.42
7.2.310.0170.00616.65
7.2.300.0150.00816.62
7.2.290.0100.00716.26
7.2.60.0060.01016.89
7.2.00.0000.01319.45
7.1.200.0040.01015.88
7.1.100.0040.01117.77
7.1.70.0040.00716.86
7.1.60.0030.00717.31
7.1.50.0100.01016.86
7.1.40.0030.01716.55
7.1.30.0090.00316.57
7.1.20.0040.01416.66
7.1.10.0000.00916.77
7.1.00.0060.00616.74
7.0.200.0000.00716.72
7.0.190.0030.00316.85
7.0.180.0040.00416.08
7.0.170.0030.01316.23
7.0.160.0060.01016.17
7.0.150.0040.00416.46
7.0.140.0030.01316.16
7.0.130.0070.00316.60
7.0.120.0000.01416.46
7.0.110.0100.00016.55
7.0.100.0030.00616.48
7.0.90.0000.01116.26
7.0.80.0000.00816.43
7.0.70.0000.01216.52
7.0.60.0100.00016.14
7.0.50.0060.00316.48
7.0.40.0000.00815.09
7.0.30.0000.00715.09
7.0.20.0000.00815.09
7.0.10.0000.01615.09
7.0.00.0000.01115.09
5.6.300.0030.04420.81
5.6.290.0030.07720.93
5.6.280.0030.06021.02
5.6.270.0030.07620.86
5.6.260.0030.04620.86
5.6.250.0160.06520.86
5.6.240.0280.03421.01
5.6.230.0070.04720.84
5.6.220.0030.04720.98
5.6.210.0070.04720.82
5.6.200.0030.06221.04
5.6.190.0030.04521.00
5.6.180.0030.04820.81
5.6.170.0060.06820.81
5.6.160.0070.07620.81
5.6.150.0030.04520.97
5.6.140.0000.04521.00
5.6.130.0160.04620.80
5.6.120.0030.04120.81
5.6.110.0030.04220.91
5.6.100.0030.04120.95
5.6.90.0030.04320.96
5.6.80.0060.07120.41
5.6.70.0030.04620.23
5.6.60.0030.05020.36
5.6.50.0060.03920.14
5.6.40.0030.05920.29
5.6.30.0030.03920.10
5.6.20.0000.07720.11
5.6.10.0030.04020.33
5.6.00.0070.08720.15
5.5.380.0000.04417.44
5.5.370.0040.03917.41
5.5.360.0070.04917.47
5.5.350.0000.04217.48
5.5.340.0000.07217.96
5.5.330.0100.07518.02
5.5.320.0000.07118.07
5.5.310.0060.06518.11
5.5.300.0070.04218.02
5.5.290.0070.03717.70
5.5.280.0030.04317.74
5.5.270.0030.04117.98
5.5.260.0030.04018.04
5.5.250.0130.04017.86
5.5.240.0100.06817.32
5.5.230.0000.04317.39
5.5.220.0040.03917.35
5.5.210.0030.04117.12
5.5.200.0030.03717.42
5.5.190.0030.03917.31
5.5.180.0030.04017.46
5.5.160.0030.05317.22
5.5.150.0000.04117.18
5.5.140.0030.04917.09
5.5.130.0030.04617.29
5.5.120.0100.06017.40
5.5.110.0100.04017.34
5.5.100.0040.03917.20
5.5.90.0130.03117.36
5.5.80.0070.03317.11
5.5.70.0000.04817.18
5.5.60.0030.04417.35
5.5.50.0030.06217.24
5.5.40.0000.09417.27
5.5.30.0030.04016.92
5.5.20.0000.04217.21
5.5.10.0100.04717.23
5.5.00.0030.03917.25
5.4.450.0000.05119.26
5.4.440.0100.03819.38
5.4.430.0000.04519.29
5.4.420.0030.03719.35
5.4.410.0030.03819.27
5.4.400.0000.05819.16
5.4.390.0030.04619.07
5.4.380.0000.04118.97
5.4.370.0040.03618.80
5.4.360.0070.03819.13
5.4.350.0030.04318.89
5.4.340.0040.04619.02
5.4.320.0000.04219.07
5.4.310.0030.07118.99
5.4.300.0030.06219.03
5.4.290.0030.03618.98
5.4.280.0070.05418.81
5.4.270.0030.04619.13
5.4.260.0030.04419.15
5.4.250.0100.03019.00
5.4.240.0070.03318.96
5.4.230.0070.03618.79
5.4.220.0000.04119.04
5.4.210.0100.07219.02
5.4.200.0000.05418.87
5.4.190.0030.04019.15
5.4.180.0100.03519.16
5.4.170.0030.04018.80
5.4.160.0000.04019.00
5.4.150.0070.04318.91
5.4.140.0030.04316.55
5.4.130.0030.03616.50
5.4.120.0030.04516.32
5.4.110.0030.03416.53
5.4.100.0070.05616.61
5.4.90.0030.04516.60
5.4.80.0070.04316.59
5.4.70.0070.05316.41
5.4.60.0030.03616.40
5.4.50.0000.04616.60
5.4.40.0060.03116.62
5.4.30.0090.03116.54
5.4.20.0200.03316.52
5.4.10.0000.04316.56
5.4.00.0030.03515.85
5.3.290.0070.03715.09
5.3.280.0000.04315.09
5.3.270.0030.04015.09
5.3.260.0000.04515.09
5.3.250.0000.04315.09
5.3.240.0030.03715.09
5.3.230.0000.04015.09
5.3.220.0070.03915.09
5.3.210.0030.03615.09
5.3.200.0030.03615.09
5.3.190.0070.03315.09
5.3.180.0040.03515.09
5.3.170.0000.04415.09
5.3.160.0030.04415.09
5.3.150.0000.05015.09
5.3.140.0000.03915.09
5.3.130.0000.04515.09
5.3.120.0030.05115.09
5.3.110.0030.04515.09
5.3.100.0030.03915.09
5.3.90.0070.04115.09
5.3.80.0000.03915.09
5.3.70.0000.03915.09
5.3.60.0070.03715.09
5.3.50.0030.03615.09
5.3.40.0030.04915.09
5.3.30.0030.03615.09
5.3.20.0070.06015.09
5.3.10.0000.03615.09
5.3.00.0000.03715.09
5.2.170.0030.03515.09
5.2.160.0070.04615.09
5.2.150.0060.03115.09
5.2.140.0000.03115.09
5.2.130.0030.05815.09
5.2.120.0030.03215.09
5.2.110.0030.03915.09
5.2.100.0000.03415.09
5.2.90.0030.07015.09
5.2.80.0000.03515.09
5.2.70.0030.02815.09
5.2.60.0030.02815.09
5.2.50.0000.04915.09
5.2.40.0070.04715.09
5.2.30.0030.02715.09
5.2.20.0290.01915.09
5.2.10.0000.03115.09
5.2.00.0030.02815.09
5.1.60.0000.03915.09
5.1.50.0070.03315.09
5.1.40.0070.03415.09
5.1.30.0030.02915.09
5.1.20.0000.03115.09
5.1.10.0000.02915.09
5.1.00.0000.03015.09
5.0.50.0000.02915.09
5.0.40.0030.03415.09
5.0.30.0040.03615.09
5.0.20.0030.01715.09
5.0.10.0030.02015.09
5.0.00.0000.03615.09
4.4.90.0030.01315.09
4.4.80.0000.01615.09
4.4.70.0030.01415.09
4.4.60.0000.01715.09
4.4.50.0000.02015.09
4.4.40.0000.02515.09
4.4.30.0060.01115.09
4.4.20.0060.01615.09
4.4.10.0000.02215.09
4.4.00.0000.02615.09
4.3.110.0000.01915.09
4.3.100.0000.01515.09
4.3.90.0000.01515.09
4.3.80.0030.02415.09
4.3.70.0000.01815.09
4.3.60.0000.01515.09
4.3.50.0000.02015.09
4.3.40.0000.05115.09
4.3.30.0030.03415.09
4.3.20.0030.01915.09
4.3.10.0000.01715.09
4.3.00.0000.01715.09

preferences:
45.65 ms | 400 KiB | 5 Q