3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { const SCALE_FACTOR = 1000; public function myprint() { echo "flsdfsd ---> ".self::$SCALE_FACTOR; } } $myTest = new Test; $myTest->myprint();

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.0090.00618.55
8.3.50.0160.00522.91
8.3.40.0070.00718.71
8.3.30.0070.01018.96
8.3.20.0000.00820.17
8.3.10.0080.00021.77
8.3.00.0040.00419.56
8.2.180.0120.00918.38
8.2.170.0100.00322.96
8.2.160.0090.00620.22
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0040.00419.51
8.2.110.0000.00822.24
8.2.100.0120.00017.72
8.2.90.0040.00419.27
8.2.80.0080.00019.37
8.2.70.0040.00417.75
8.2.60.0060.00317.91
8.2.50.0040.00418.07
8.2.40.0060.00318.15
8.2.30.0000.00819.35
8.2.20.0040.00417.61
8.2.10.0000.00717.99
8.2.00.0040.00417.69
8.1.280.0100.01025.92
8.1.270.0040.00423.79
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0040.00423.70
8.1.230.0080.00319.16
8.1.220.0000.00717.74
8.1.210.0080.00018.77
8.1.200.0000.00917.23
8.1.190.0000.00817.53
8.1.180.0030.00918.10
8.1.170.0040.00418.51
8.1.160.0000.00818.81
8.1.150.0000.00718.72
8.1.140.0000.00717.36
8.1.130.0020.00517.85
8.1.120.0080.00417.44
8.1.110.0040.00417.36
8.1.100.0070.00017.36
8.1.90.0070.00017.39
8.1.80.0040.00417.30
8.1.70.0070.00017.23
8.1.60.0060.00317.54
8.1.50.0040.00417.57
8.1.40.0000.00817.55
8.1.30.0080.00017.63
8.1.20.0000.00817.64
8.1.10.0040.00417.51
8.1.00.0000.00817.49
8.0.300.0040.00418.77
8.0.290.0000.00717.05
8.0.280.0000.00718.29
8.0.270.0030.00317.09
8.0.260.0030.00317.17
8.0.250.0070.00016.96
8.0.240.0030.00316.96
8.0.230.0070.00016.96
8.0.220.0000.00716.79
8.0.210.0040.00416.88
8.0.200.0000.00816.97
8.0.190.0040.00416.90
8.0.180.0020.00516.81
8.0.170.0080.00016.90
8.0.160.0000.00916.91
8.0.150.0030.00516.86
8.0.140.0040.00416.69
8.0.130.0060.00013.27
8.0.120.0050.00316.86
8.0.110.0040.00416.89
8.0.100.0000.00716.93
8.0.90.0050.00216.84
8.0.80.0090.00616.81
8.0.70.0000.00717.00
8.0.60.0040.00416.75
8.0.50.0040.00416.86
8.0.30.0170.00617.14
8.0.20.0080.01517.40
8.0.10.0040.00417.04
8.0.00.0090.00816.84
7.4.330.0000.00615.03
7.4.320.0030.00316.46
7.4.300.0000.00616.64
7.4.290.0080.00416.60
7.4.280.0040.00416.59
7.4.270.0030.00316.51
7.4.260.0050.00216.47
7.4.250.0020.00516.50
7.4.240.0040.00316.49
7.4.230.0000.00716.49
7.4.220.0120.00616.37
7.4.210.0100.01016.63
7.4.200.0040.00416.57
7.4.160.0130.00316.55
7.4.150.0060.01217.40
7.4.140.0120.01317.86
7.4.130.0070.01016.49
7.4.120.0100.00616.60
7.4.110.0070.01016.44
7.4.100.0090.00916.36
7.4.90.0060.01116.36
7.4.80.0070.01419.39
7.4.70.0180.00316.41
7.4.60.0100.01316.54
7.4.50.0030.00616.44
7.4.40.0110.00816.47
7.4.30.0000.01516.45
7.4.00.0070.00715.14
7.3.330.0030.00313.14
7.3.320.0030.00213.23
7.3.310.0000.00716.41
7.3.300.0000.00616.37
7.3.290.0080.00816.34
7.3.280.0120.00616.33
7.3.270.0170.00017.40
7.3.260.0170.00616.35
7.3.250.0100.00716.38
7.3.240.0030.01816.47
7.3.230.0100.00716.39
7.3.210.0130.00316.32
7.3.200.0080.00819.39
7.3.190.0100.00716.34
7.3.180.0070.01016.58
7.3.170.0130.00316.53
7.3.160.0040.01216.34
7.3.120.0170.00014.86
7.3.110.0130.00314.84
7.3.100.0000.01414.80
7.3.90.0070.00714.79
7.3.80.0030.01014.92
7.3.70.0000.01014.52
7.3.60.0060.00614.53
7.3.50.0090.00614.87
7.3.40.0030.01014.75
7.3.30.0030.00914.89
7.3.20.0000.00916.73
7.3.10.0040.01116.63
7.3.00.0090.00616.71
7.2.330.0150.00816.69
7.2.320.0090.00916.70
7.2.310.0060.01116.30
7.2.300.0080.00816.64
7.2.290.0060.01516.57
7.2.240.0030.01315.16
7.2.230.0030.01015.16
7.2.220.0100.00615.02
7.2.210.0000.01415.10
7.2.200.0030.01314.89
7.2.190.0080.00514.95
7.2.180.0030.00914.79
7.2.170.0000.01514.95
7.2.160.0060.00914.99
7.2.150.0030.01316.57
7.2.140.0000.01816.66
7.2.130.0070.01016.99
7.2.120.0040.01116.99
7.2.110.0130.00317.04
7.2.100.0060.00917.04
7.2.90.0030.01216.91
7.2.80.0090.00617.05
7.2.70.0090.00916.65
7.2.60.0040.01216.89
7.2.50.0030.01416.98
7.2.40.0070.01116.89
7.2.30.0140.00016.89
7.2.20.0120.00616.95
7.2.10.0040.01516.84
7.2.00.0070.00718.16
7.1.330.0070.00715.60
7.1.320.0060.00915.79
7.1.310.0100.00315.50
7.1.300.0000.00815.42
7.1.290.0090.00615.51
7.1.280.0060.00915.70
7.1.270.0070.00715.40
7.1.260.0100.00715.82
7.1.250.0110.00415.65
7.1.200.0120.00015.64
7.1.100.0030.00717.77
7.1.70.0000.01017.04
7.1.60.0130.01019.34
7.1.50.0130.00616.95
7.1.00.0030.07722.50
7.0.200.0100.00016.78
7.0.140.0070.07022.23
7.0.60.0100.07719.95
7.0.50.0100.03317.86
7.0.40.0100.06320.40
7.0.30.0230.04020.16
7.0.20.0170.06020.21
7.0.10.0100.08720.22
7.0.00.0070.08720.06
5.6.280.0030.07320.78
5.6.210.0100.08320.48
5.6.200.0070.08318.27
5.6.190.0070.05320.64
5.6.180.0200.05020.57
5.6.170.0200.03720.43
5.6.160.0070.07320.43
5.6.150.0030.04718.20
5.6.140.0100.03318.14
5.6.130.0000.04318.23
5.6.120.0030.04721.09
5.6.110.0030.04321.11
5.6.100.0100.07720.99
5.6.90.0200.06320.97
5.6.80.0100.07720.36
5.5.350.0130.08320.44
5.5.340.0170.07018.08
5.5.330.0030.04720.40
5.5.320.0470.06020.34
5.5.310.0370.06320.33
5.5.300.0100.08018.03
5.5.290.0070.08718.05
5.5.280.0030.04720.88
5.5.270.0230.05320.72
5.5.260.0070.06020.80
5.5.250.0130.07020.69
5.5.240.0370.06020.27
5.4.450.0230.05019.55
5.4.440.0300.04019.47
5.4.430.0130.03719.39
5.4.420.0030.06019.41
5.4.410.0130.05318.73
5.4.400.0170.05018.52
5.4.390.0100.05318.53
5.4.380.0000.07318.75
5.4.370.0130.05318.79
5.4.360.0130.05318.78
5.4.350.0130.03313.80
5.4.340.0200.03313.79
5.4.320.0200.03314.25
5.4.310.0200.03714.27
5.4.300.0230.04314.21
5.4.290.0230.04014.42
5.4.280.0130.05314.37
5.4.270.0270.04314.39
5.4.260.0230.04014.19
5.4.250.0170.03314.16
5.4.240.0130.04314.14
5.4.230.0200.03314.15
5.4.220.0130.03714.21
5.4.210.0070.04314.36
5.4.200.0230.03314.18
5.4.190.0130.03714.16
5.4.180.0300.03714.26
5.4.170.0230.04014.16
5.4.160.0270.05014.14
5.4.150.0130.04314.14
5.4.140.0130.04313.84
5.4.130.0130.03313.90
5.4.120.0130.03313.84
5.4.110.0100.04013.77
5.4.100.0130.04313.76
5.4.90.0230.03313.89
5.4.80.0170.03714.00
5.4.70.0070.04313.78
5.4.60.0100.03713.89
5.4.50.0070.04013.83
5.4.40.0130.03713.71
5.4.30.0130.04013.82
5.4.20.0200.03013.74
5.4.10.0130.03713.74
5.4.00.0030.05013.22
5.3.290.0170.03714.60
5.3.280.0100.04314.63
5.3.270.0170.04014.52
5.3.260.0200.03714.59
5.3.250.0130.03714.59
5.3.240.0230.04314.64
5.3.230.0170.05014.74
5.3.220.0200.04314.55
5.3.210.0270.04014.50
5.3.200.0100.05014.70
5.3.190.0130.06014.66
5.3.180.0230.04714.60
5.3.170.0170.03714.60
5.3.160.0230.04714.48
5.3.150.0070.05014.74
5.3.140.0200.03714.53
5.3.130.0170.04014.70
5.3.120.0100.04014.54
5.3.110.0170.03714.58
5.3.100.0200.03014.16
5.3.90.0100.03714.16
5.3.80.0200.03014.01
5.3.70.0130.04013.99
5.3.60.0130.04314.04
5.3.50.0070.04014.11
5.3.40.0130.03713.89
5.3.30.0130.04713.89
5.3.20.0130.03313.63
5.3.10.0130.03713.63
5.3.00.0170.03313.78
5.2.170.0130.03011.13
5.2.160.0070.03711.10
5.2.150.0030.03711.29
5.2.140.0070.03711.21
5.2.130.0170.02711.10
5.2.120.0070.03011.07
5.2.110.0100.03311.25
5.2.100.0070.03311.08
5.2.90.0100.03011.26
5.2.80.0070.03711.08
5.2.70.0000.04011.14
5.2.60.0200.02711.11
5.2.50.0130.03011.16
5.2.40.0030.03311.13
5.2.30.0100.03310.99
5.2.20.0130.03010.98
5.2.10.0100.03310.91
5.2.00.0130.03010.70
5.1.60.0100.02310.17
5.1.50.0070.03710.00
5.1.40.0030.03010.05
5.1.30.0030.03010.48
5.1.20.0100.02710.51
5.1.10.0100.02710.19
5.1.00.0030.03310.05
5.0.50.0100.0208.58
5.0.40.0100.0208.37
5.0.30.0100.0308.29
5.0.20.0070.0238.23
5.0.10.0030.0308.13
5.0.00.0070.0338.13
4.4.90.0070.0175.89
4.4.80.0030.0205.82
4.4.70.0030.0175.81
4.4.60.0070.0135.94
4.4.50.0070.0135.86
4.4.40.0000.0305.85
4.4.30.0000.0205.81
4.4.20.0070.0175.88
4.4.10.0100.0175.88
4.4.00.0030.0305.93
4.3.110.0070.0175.88
4.3.100.0070.0175.76
4.3.90.0070.0135.76
4.3.80.0100.0275.76
4.3.70.0030.0175.73
4.3.60.0070.0235.80
4.3.50.0000.0235.73
4.3.40.0070.0305.74
4.3.30.0030.0174.61
4.3.20.0000.0274.50
4.3.10.0000.0204.46
4.3.00.0030.01716.65

preferences:
63.14 ms | 401 KiB | 5 Q