3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { const SCALE_FACTOR = 1000; public function myprint() { echo "flsdfsd ---> " . (self::SCALE_FACTOR / 2); echo "\n"; echo "SLFKD ----> {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.0110.00418.18
8.3.50.0120.00523.00
8.3.40.0140.00018.85
8.3.30.0070.01018.97
8.3.20.0040.00420.26
8.3.10.0050.00321.65
8.3.00.0000.00819.43
8.2.180.0120.00618.25
8.2.170.0120.00322.96
8.2.160.0130.00020.21
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0030.00619.23
8.2.110.0060.00320.44
8.2.100.0070.00417.91
8.2.90.0050.00218.22
8.2.80.0000.00819.34
8.2.70.0080.00017.63
8.2.60.0030.00617.91
8.2.50.0040.00418.07
8.2.40.0080.00018.28
8.2.30.0070.00019.36
8.2.20.0040.00417.71
8.2.10.0050.00317.86
8.2.00.0040.00417.61
8.1.280.0030.01425.92
8.1.270.0040.00423.88
8.1.260.0070.00026.35
8.1.250.0060.00328.09
8.1.240.0090.00022.18
8.1.230.0030.00920.93
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0090.00017.00
8.1.190.0050.00217.50
8.1.180.0030.00618.10
8.1.170.0030.00518.59
8.1.160.0030.00618.77
8.1.150.0000.00718.79
8.1.140.0040.00417.29
8.1.130.0030.00317.73
8.1.120.0030.00717.37
8.1.110.0040.00417.35
8.1.100.0040.00417.43
8.1.90.0030.00317.43
8.1.80.0000.00817.38
8.1.70.0000.00717.32
8.1.60.0030.00517.59
8.1.50.0040.00417.45
8.1.40.0040.00417.46
8.1.30.0050.00517.68
8.1.20.0000.00817.49
8.1.10.0000.00817.47
8.1.00.0050.00217.50
8.0.300.0040.00420.00
8.0.290.0080.00017.18
8.0.280.0000.00718.43
8.0.270.0080.00017.24
8.0.260.0060.00017.16
8.0.250.0000.00716.88
8.0.240.0070.00016.76
8.0.230.0000.00716.88
8.0.220.0070.00016.91
8.0.210.0000.00716.88
8.0.200.0000.00616.89
8.0.190.0030.00316.77
8.0.180.0000.00816.77
8.0.170.0000.00716.83
8.0.160.0040.00416.79
8.0.150.0080.00016.67
8.0.140.0070.00016.70
8.0.130.0000.00613.25
8.0.120.0090.00016.63
8.0.110.0040.00416.81
8.0.100.0000.00716.82
8.0.90.0070.00016.71
8.0.80.0090.00616.85
8.0.70.0000.00716.88
8.0.60.0040.00416.80
8.0.50.0000.00716.76
8.0.30.0110.01117.33
8.0.20.0140.01017.40
8.0.10.0040.00416.82
8.0.00.0100.00816.65
7.4.330.0050.00015.02
7.4.320.0000.00616.48
7.4.300.0000.00616.57
7.4.290.0030.00616.51
7.4.280.0000.00816.61
7.4.270.0000.00616.60
7.4.260.0000.00716.46
7.4.250.0080.00016.50
7.4.240.0020.00516.53
7.4.230.0070.00016.57
7.4.220.0110.00816.64
7.4.210.0070.01416.64
7.4.200.0000.00716.56
7.4.160.0060.01216.47
7.4.150.0060.01317.40
7.4.140.0080.00917.86
7.4.130.0120.00516.53
7.4.120.0050.01316.57
7.4.110.0080.00816.46
7.4.100.0030.01616.45
7.4.90.0100.00716.60
7.4.80.0060.01719.39
7.4.70.0110.01116.40
7.4.60.0060.01216.48
7.4.50.0040.00016.48
7.4.40.0030.01216.60
7.4.30.0100.01016.40
7.4.00.0100.00614.88
7.3.330.0030.00313.09
7.3.320.0050.00013.21
7.3.310.0000.00716.25
7.3.300.0000.00616.11
7.3.290.0040.01216.15
7.3.280.0080.01116.23
7.3.270.0150.00617.40
7.3.260.0100.00716.27
7.3.250.0100.01016.22
7.3.240.0120.00616.51
7.3.230.0100.00616.48
7.3.210.0060.01316.34
7.3.200.0130.01119.39
7.3.190.0030.01416.17
7.3.180.0000.01616.21
7.3.170.0140.00416.51
7.3.160.0090.00616.30
7.3.120.0130.00614.52
7.3.110.0030.01614.50
7.3.100.0090.00414.54
7.3.90.0090.00914.77
7.3.80.0030.00914.70
7.3.70.0140.00314.55
7.3.60.0060.00614.46
7.3.50.0030.01014.66
7.3.40.0030.01014.70
7.3.30.0070.00714.43
7.3.20.0100.00716.42
7.3.10.0030.01216.63
7.3.00.0120.00116.50
7.2.330.0100.01016.65
7.2.320.0110.00616.54
7.2.310.0060.01616.52
7.2.300.0040.01416.71
7.2.290.0110.00716.36
7.2.250.0070.01014.96
7.2.240.0040.01514.67
7.2.230.0100.00714.94
7.2.220.0110.00415.10
7.2.210.0070.01115.05
7.2.200.0060.01114.86
7.2.190.0040.00414.83
7.2.180.0080.00815.09
7.2.170.0060.00615.03
7.2.130.0110.00416.41
7.2.120.0100.01016.46
7.2.110.0100.00616.36
7.2.100.0070.00716.43
7.2.90.0140.00416.40
7.2.80.0130.00516.54
7.2.70.0180.00416.67
7.2.60.0220.00816.74
7.2.50.0070.01116.70
7.2.40.0110.00416.68
7.2.30.0060.00616.95
7.2.20.0120.00616.68
7.2.10.0100.00716.27
7.2.00.0060.01017.90
7.1.330.0070.00715.65
7.1.320.0090.00315.75
7.1.310.0070.00415.71
7.1.300.0030.00915.29
7.1.290.0070.00715.56
7.1.280.0070.01015.77
7.1.270.0100.00715.62
7.1.260.0060.00915.57
7.1.250.0060.00615.19
7.1.200.0030.00715.74
7.1.100.0060.00917.96
7.1.70.0040.00417.00
7.1.60.0120.01219.34
7.1.50.0160.00616.75
7.1.00.0000.08022.31
7.0.200.0050.00316.80
7.0.140.0030.06322.21
7.0.60.0000.04719.89
7.0.50.0030.04017.88
7.0.40.0100.08020.25
7.0.30.0330.07720.10
7.0.20.0200.05720.20
7.0.10.0100.08320.30
7.0.00.0070.05720.12
5.6.280.0030.07320.86
5.6.210.0130.07020.47
5.6.200.0030.07318.18
5.6.190.0070.08320.59
5.6.180.0130.04720.68
5.6.170.0200.06020.55
5.6.160.0100.04720.50
5.6.150.0030.04018.16
5.6.140.0070.03718.21
5.6.130.0000.04318.28
5.6.120.0030.08320.92
5.6.110.0030.04720.98
5.6.100.0170.07321.01
5.6.90.0070.08320.98
5.6.80.0100.07320.38
5.5.350.0070.07720.38
5.5.340.0030.04718.05
5.5.330.0000.05320.31
5.5.320.0400.04320.33
5.5.310.0370.07320.50
5.5.300.0070.08318.07
5.5.290.0100.07318.00
5.5.280.0030.08320.73
5.5.270.0100.05020.86
5.5.260.0070.05720.63
5.5.250.0030.05720.64
5.5.240.0100.06020.19
5.4.450.0270.04319.52
5.4.440.0300.03719.20
5.4.430.0300.03719.16
5.4.420.0100.05019.21
5.4.410.0030.06318.86
5.4.400.0170.04718.89
5.4.390.0130.05318.53
5.4.380.0130.05318.84
5.4.370.0130.05018.55
5.4.360.0100.06718.86
5.4.350.0130.03313.85
5.4.340.0070.03713.67
5.4.320.0030.04314.23
5.4.310.0070.04014.24
5.4.300.0130.03714.13
5.4.290.0030.05014.25
5.4.280.0130.03014.11
5.4.270.0130.03314.33
5.4.260.0030.04014.09
5.4.250.0030.04014.15
5.4.240.0070.03714.13
5.4.230.0030.04314.02
5.4.220.0100.03314.12
5.4.210.0070.03314.23
5.4.200.0070.03714.02
5.4.190.0070.03714.14
5.4.180.0030.04014.12
5.4.170.0030.04014.21
5.4.160.0070.03714.04
5.4.150.0070.03714.15
5.4.140.0000.04313.83
5.4.130.0170.03713.88
5.4.120.0100.03313.71
5.4.110.0030.04013.93
5.4.100.0030.04313.75
5.4.90.0070.03713.75
5.4.80.0030.04013.95
5.4.70.0070.03713.77
5.4.60.0030.03713.69
5.4.50.0030.04013.75
5.4.40.0030.03713.75
5.4.30.0100.03013.75
5.4.20.0000.04013.65
5.4.10.0070.03713.71
5.4.00.0070.03713.42
5.3.290.0070.04314.68
5.3.280.0070.03714.71
5.3.270.0030.04314.64
5.3.260.0030.04714.70
5.3.250.0070.04014.58
5.3.240.0070.04314.57
5.3.230.0100.03714.66
5.3.220.0130.03314.44
5.3.210.0170.03714.50
5.3.200.0030.04014.69
5.3.190.0100.03714.68
5.3.180.0100.04314.53
5.3.170.0030.04314.57
5.3.160.0130.03714.54
5.3.150.0100.03714.68
5.3.140.0070.03714.45
5.3.130.0100.04014.68
5.3.120.0070.04314.67
5.3.110.0130.03714.67
5.3.100.0070.04013.89
5.3.90.0100.04313.89
5.3.80.0100.03314.06
5.3.70.0070.03714.08
5.3.60.0130.03314.10
5.3.50.0070.03713.89
5.3.40.0070.04313.93
5.3.30.0070.03714.01
5.3.20.0130.02713.70
5.3.10.0100.03313.63
5.3.00.0070.03313.67
5.2.170.0070.02711.21
5.2.160.0100.02311.27
5.2.150.0030.03311.21
5.2.140.0100.02711.12
5.2.130.0130.02311.17
5.2.120.0030.03311.08
5.2.110.0070.02711.09
5.2.100.0000.03710.99
5.2.90.0100.02711.16
5.2.80.0030.03311.07
5.2.70.0030.03311.03
5.2.60.0070.03311.11
5.2.50.0030.03011.12
5.2.40.0030.03011.06
5.2.30.0030.03310.83
5.2.20.0030.03010.96
5.2.10.0070.02710.84
5.2.00.0000.03710.88
5.1.60.0070.02010.13
5.1.50.0100.0209.90
5.1.40.0030.02710.04
5.1.30.0000.03010.26
5.1.20.0030.03010.26
5.1.10.0070.02310.05
5.1.00.0000.0309.97
5.0.50.0000.0238.52
5.0.40.0000.0238.53
5.0.30.0100.0278.20
5.0.20.0030.0208.07
5.0.10.0070.0178.03
5.0.00.0000.0338.09
4.4.90.0030.0135.82
4.4.80.0000.0175.85
4.4.70.0030.0135.82
4.4.60.0030.0205.94
4.4.50.0030.0135.95
4.4.40.0000.0275.88
4.4.30.0000.0175.85
4.4.20.0030.0135.99
4.4.10.0000.0175.89
4.4.00.0030.0235.93
4.3.110.0000.0175.75
4.3.100.0000.0175.75
4.3.90.0000.0205.75
4.3.80.0000.0275.77
4.3.70.0030.0135.75
4.3.60.0000.0175.74
4.3.50.0030.0135.80
4.3.40.0030.0235.75
4.3.30.0000.0204.50
4.3.20.0030.0204.50
4.3.10.0000.0234.56
4.3.00.0030.01316.65

preferences:
46.3 ms | 401 KiB | 5 Q