3v4l.org

run code in 300+ PHP versions simultaneously
<?php const string = '...'; (function(string $string) { var_dump($string); })(\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.70.0140.00718.41
8.3.60.0150.00616.36
8.3.50.0110.01121.92
8.3.40.0070.00718.55
8.3.30.0130.01018.43
8.3.20.0040.00420.34
8.3.10.0000.00823.65
8.3.00.0000.00919.23
8.2.190.0090.00916.63
8.2.180.0110.01118.42
8.2.170.0090.00622.96
8.2.160.0100.01020.33
8.2.150.0140.00424.18
8.2.140.0070.00024.66
8.2.130.0060.00317.50
8.2.120.0180.00026.35
8.2.110.0060.00320.32
8.2.100.0080.00317.80
8.2.90.0030.00519.00
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0030.00617.80
8.2.50.0050.00318.07
8.2.40.0070.00019.36
8.2.30.0040.00420.54
8.2.20.0050.00317.59
8.2.10.0000.00718.03
8.2.00.0000.00718.02
8.1.280.0130.00325.92
8.1.270.0050.00323.96
8.1.260.0000.00728.09
8.1.250.0040.00428.09
8.1.240.0000.00923.97
8.1.230.0040.00819.42
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0090.00017.11
8.1.190.0030.00616.97
8.1.180.0000.00818.10
8.1.170.0050.00318.84
8.1.160.0070.00021.88
8.1.150.0070.00018.82
8.1.140.0000.00819.50
8.1.130.0070.00017.66
8.1.120.0000.00717.42
8.1.110.0040.00417.40
8.1.100.0070.00017.43
8.1.90.0050.00317.32
8.1.80.0090.00017.35
8.1.70.0000.00817.32
8.1.60.0040.00817.51
8.1.50.0080.00017.36
8.1.40.0040.00417.46
8.1.30.0030.00617.59
8.1.20.0040.00417.57
8.1.10.0040.00417.41
8.1.00.0000.00717.23
8.0.300.0070.00018.77
8.0.290.0050.00216.63
8.0.280.0000.00718.35
8.0.270.0030.00317.28
8.0.260.0030.00317.25
8.0.250.0060.00016.96
8.0.240.0030.00316.87
8.0.230.0070.00016.79
8.0.220.0040.00416.75
8.0.210.0000.00816.87
8.0.200.0000.00716.89
8.0.190.0000.00716.95
8.0.180.0050.00216.91
8.0.170.0040.00416.80
8.0.160.0050.00216.84
8.0.150.0040.00416.90
8.0.140.0000.00816.78
8.0.130.0060.00013.34
8.0.120.0000.00816.88
8.0.110.0040.00416.80
8.0.100.0040.00416.87
8.0.90.0040.00416.68
8.0.80.0060.00916.90
8.0.70.0000.00716.67
8.0.60.0000.00816.94
8.0.50.0000.00716.76
8.0.30.0040.01317.00
8.0.20.0090.01017.40
8.0.10.0000.00716.97
8.0.00.0110.00916.75
7.4.330.0000.00516.77
7.4.320.0000.00716.41
7.4.300.0060.00016.62
7.4.290.0000.00716.61
7.4.280.0070.00016.59
7.4.270.0030.00316.66
7.4.260.0070.00016.48
7.4.250.0070.00016.46
7.4.240.0040.00416.56
7.4.230.0000.00716.71
7.4.220.0230.00316.50
7.4.210.0040.01116.70
7.4.200.0040.00416.50
7.4.160.0150.00016.51
7.4.150.0080.00817.40
7.4.140.0070.01017.86
7.4.130.0110.00716.35
7.4.120.0100.00816.49
7.4.110.0130.01016.43
7.4.100.0000.02116.29
7.4.90.0100.00716.40
7.4.80.0090.00919.39
7.4.70.0030.01316.33
7.4.60.0100.01016.37
7.4.50.0030.01016.30
7.4.40.0130.00316.44
7.4.30.0080.00916.41
7.4.00.0060.01014.85
7.3.330.0020.00313.07
7.3.320.0000.00613.22
7.3.310.0000.00716.11
7.3.300.0000.00616.23
7.3.290.0090.00916.22
7.3.280.0080.01116.22
7.3.270.0120.00617.40
7.3.260.0070.01116.36
7.3.250.0090.01116.25
7.3.240.0110.00916.33
7.3.230.0140.00716.39
7.3.210.0100.01016.57
7.3.200.0060.01016.26
7.3.190.0070.01016.58
7.3.180.0070.01016.52
7.3.170.0030.01816.34
7.3.160.0130.00316.26
7.3.120.0070.01314.58
7.3.110.0070.01114.84
7.3.100.0000.01514.96
7.3.90.0110.00414.71
7.3.80.0080.00314.66
7.3.70.0080.00614.52
7.3.60.0000.01514.74
7.3.50.0060.00914.77
7.3.40.0110.00414.72
7.3.30.0040.00414.67
7.3.20.0070.00416.65
7.3.10.0040.00916.49
7.3.00.0090.00616.57
7.2.330.0080.00816.35
7.2.320.0170.00316.78
7.2.310.0100.00716.50
7.2.300.0090.00916.47
7.2.290.0090.01216.73
7.2.250.0120.00615.15
7.2.240.0030.01314.70
7.2.230.0110.00714.87
7.2.220.0130.00715.10
7.2.210.0030.01314.66
7.2.200.0060.00815.14
7.2.190.0030.00714.87
7.2.180.0070.00715.19
7.2.170.0080.01215.09
7.2.130.0060.00316.50
7.2.120.0080.00416.93
7.2.110.0060.00616.96
7.2.100.0040.00816.62
7.2.90.0070.00716.79
7.2.80.0030.00716.84
7.2.70.0090.00016.72
7.2.60.0090.00516.73
7.2.50.0130.00016.55
7.2.40.0060.00916.82
7.2.30.0060.00316.53
7.2.20.0120.00316.74
7.2.10.0070.00717.08
7.2.00.0050.00918.19
7.1.330.0060.00915.57
7.1.320.0060.00615.58
7.1.310.0060.00915.89
7.1.300.0070.00415.64
7.1.290.0060.00915.74
7.1.280.0100.01015.61
7.1.270.0060.00615.36
7.1.260.0140.00015.40
7.1.250.0090.00615.53
7.1.200.0060.00615.84
7.1.100.0060.00617.77
7.1.70.0000.00816.95
7.1.60.0150.01119.48
7.1.50.0030.01616.56
7.1.00.0070.07322.28
7.0.200.0140.00714.99
7.0.60.0100.07020.00
7.0.50.0070.07717.84
7.0.40.0100.04020.11
7.0.30.0130.04320.21
7.0.20.0370.07020.07
7.0.10.0000.05020.23
7.0.00.0130.04320.23
5.6.280.0070.06720.82
5.6.210.0130.05320.75
5.6.200.0030.05318.12
5.6.190.0100.08320.46
5.6.180.0370.05320.61
5.6.170.0230.08020.57
5.6.160.0070.04320.51
5.6.150.0100.04718.18
5.6.140.0070.04718.22
5.6.130.0070.08018.14
5.6.120.0130.03721.12
5.6.110.0000.05721.00
5.6.100.0070.06321.00
5.6.90.0130.03721.11
5.6.80.0070.07720.37
5.5.350.0000.07020.30
5.5.340.0100.05017.98
5.5.330.0070.06020.31
5.5.320.0030.05020.31
5.5.310.0300.06320.34
5.5.300.0100.07718.03
5.5.290.0030.08317.94
5.5.280.0070.06020.80
5.5.270.0070.07320.77
5.5.260.0170.06320.96
5.5.250.0100.07320.70
5.5.240.0200.08020.04

preferences:
58.5 ms | 401 KiB | 5 Q