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.0140.00018.68
8.3.50.0090.00722.74
8.3.40.0040.01118.66
8.3.30.0000.01418.97
8.3.20.0080.00020.07
8.3.10.0050.00221.71
8.3.00.0090.00019.54
8.2.180.0150.00616.75
8.2.170.0070.00722.96
8.2.160.0030.01020.36
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0090.00019.50
8.2.110.0070.01022.12
8.2.100.0090.00317.91
8.2.90.0000.00818.03
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0050.00517.90
8.2.50.0080.00018.07
8.2.40.0000.00818.15
8.2.30.0000.00819.28
8.2.20.0040.00417.76
8.2.10.0040.00418.07
8.2.00.0060.00317.66
8.1.280.0150.00725.92
8.1.270.0080.00023.98
8.1.260.0070.00026.35
8.1.250.0030.00528.09
8.1.240.0040.00422.60
8.1.230.0040.00821.04
8.1.220.0000.00917.78
8.1.210.0040.00418.91
8.1.200.0090.00017.00
8.1.190.0040.00417.41
8.1.180.0040.00418.10
8.1.170.0050.00318.72
8.1.160.0000.00718.72
8.1.150.0040.00418.82
8.1.140.0040.00417.25
8.1.130.0000.00717.73
8.1.120.0030.00717.39
8.1.110.0040.00417.24
8.1.100.0070.00017.37
8.1.90.0000.00717.29
8.1.80.0000.00717.37
8.1.70.0000.00717.36
8.1.60.0080.00017.54
8.1.50.0030.00517.54
8.1.40.0000.00817.46
8.1.30.0040.00417.46
8.1.20.0000.00717.65
8.1.10.0000.00817.63
8.1.00.0040.00417.38
8.0.300.0080.00020.04
8.0.290.0000.00717.04
8.0.280.0040.00418.43
8.0.270.0030.00317.09
8.0.260.0000.00717.16
8.0.250.0040.00416.97
8.0.240.0000.00716.91
8.0.230.0040.00416.91
8.0.220.0000.00716.93
8.0.210.0030.00316.86
8.0.200.0000.00716.99
8.0.190.0050.00316.98
8.0.180.0040.00416.99
8.0.170.0040.00416.96
8.0.160.0000.00716.84
8.0.150.0000.00716.92
8.0.140.0040.00416.84
8.0.130.0050.00313.40
8.0.120.0000.00916.83
8.0.110.0000.00816.86
8.0.100.0040.00417.04
8.0.90.0050.00217.00
8.0.80.0000.01616.98
8.0.70.0040.00416.75
8.0.60.0040.00416.77
8.0.50.0040.00416.89
8.0.30.0150.01016.95
8.0.20.0090.01117.40
8.0.10.0050.00217.03
8.0.00.0110.00716.63
7.4.330.0050.00015.08
7.4.320.0000.00616.43
7.4.300.0000.00616.51
7.4.290.0050.00516.58
7.4.280.0040.00416.63
7.4.270.0030.00316.49
7.4.260.0040.00416.48
7.4.250.0040.00416.48
7.4.240.0030.00316.52
7.4.230.0030.00316.68
7.4.220.0120.01016.54
7.4.210.0040.01116.70
7.4.200.0000.00716.61
7.4.160.0060.00916.54
7.4.150.0120.00617.40
7.4.140.0060.01117.86
7.4.130.0130.00716.52
7.4.120.0140.00616.53
7.4.110.0070.01016.42
7.4.100.0120.00616.50
7.4.90.0070.01016.52
7.4.80.0140.00319.39
7.4.70.0100.01316.63
7.4.60.0040.01316.39
7.4.50.0030.00616.66
7.4.40.0120.00316.46
7.4.30.0040.01216.44
7.4.00.0040.01315.00
7.3.330.0060.00013.21
7.3.320.0030.00313.17
7.3.310.0060.00016.38
7.3.300.0030.00316.22
7.3.290.0120.01616.36
7.3.280.0060.01116.34
7.3.270.0060.00917.40
7.3.260.0120.00516.42
7.3.250.0070.01316.40
7.3.240.0060.01016.27
7.3.230.0110.00516.42
7.3.210.0110.00716.30
7.3.200.0090.01219.39
7.3.190.0130.00316.60
7.3.180.0120.00316.45
7.3.170.0110.01116.52
7.3.160.0040.01116.40
7.3.120.0060.01314.93
7.3.110.0070.01014.83
7.3.100.0070.01114.49
7.3.90.0040.01114.62
7.3.80.0100.00314.92
7.3.70.0030.01014.83
7.3.60.0070.00714.84
7.3.50.0070.01014.84
7.3.40.0040.00714.61
7.3.30.0030.01014.84
7.3.20.0090.00316.48
7.3.10.0020.01216.66
7.3.00.0070.00716.59
7.2.330.0130.00516.79
7.2.320.0080.00816.82
7.2.310.0090.01216.41
7.2.300.0060.01216.31
7.2.290.0150.00316.53
7.2.250.0040.01514.98
7.2.240.0040.01815.07
7.2.230.0080.00814.58
7.2.220.0030.00915.20
7.2.210.0030.00614.79
7.2.200.0070.00715.03
7.2.190.0070.01115.09
7.2.180.0030.01415.09
7.2.170.0120.00314.75
7.2.130.0070.00716.83
7.2.120.0040.01116.84
7.2.110.0050.01016.69
7.2.100.0170.00916.71
7.2.90.0080.00816.58
7.2.80.0120.00416.66
7.2.70.0130.00316.86
7.2.60.0090.00716.96
7.2.50.0050.01216.85
7.2.40.0170.00616.82
7.2.30.0090.00817.06
7.2.20.0120.00616.99
7.2.10.0100.00416.93
7.2.00.0100.00617.58
7.1.330.0040.01115.32
7.1.320.0060.00615.67
7.1.310.0040.01215.64
7.1.300.0090.00615.87
7.1.290.0030.01215.93
7.1.280.0040.01115.54
7.1.270.0030.01015.42
7.1.260.0000.01115.77
7.1.250.0030.00615.66
7.1.230.0360.00415.80
7.1.220.0120.00215.70
7.1.210.0150.00415.46
7.1.200.0150.00315.71
7.1.190.0120.00815.58
7.1.180.0430.00315.37
7.1.170.0140.00415.80
7.1.160.0140.00315.51
7.1.150.0110.00815.68
7.1.140.0260.00615.34
7.1.130.0150.00315.65
7.1.120.0090.00415.59
7.1.110.0160.00315.88
7.1.100.0030.00816.82
7.1.90.0110.00415.58
7.1.80.0140.00015.66
7.1.70.0110.00216.31
7.1.60.0130.00717.60
7.1.50.0120.01016.36
7.1.40.0200.00315.82
7.1.30.0100.00515.64
7.1.20.0070.01015.73
7.1.10.0040.01215.54
7.1.00.0130.03718.99
7.0.310.0110.00615.43
7.0.300.0070.00715.34
7.0.290.0100.01015.36
7.0.280.0120.00315.29
7.0.270.0380.00715.19
7.0.260.0220.01115.34
7.0.250.0110.00415.55
7.0.240.0040.01115.23
7.0.230.0110.01115.43
7.0.220.0270.00015.25
7.0.210.0090.00515.41
7.0.200.0050.00716.08
7.0.190.0120.00615.50
7.0.180.0100.00515.18
7.0.170.0120.00515.51
7.0.160.0110.00715.47
7.0.150.0070.00715.47
7.0.140.0050.03818.61
7.0.130.0100.00315.35
7.0.120.0270.01015.35
7.0.110.0830.00315.43
7.0.100.0150.03317.71
7.0.90.0160.03917.63
7.0.80.0090.03917.58
7.0.70.0050.04517.61
7.0.60.0120.04217.65
7.0.50.0150.03117.75
7.0.40.0120.04216.80
7.0.30.0070.04416.75
7.0.20.0140.03716.61
7.0.10.0150.03716.83
7.0.00.0110.04016.78
5.6.380.0120.00414.29
5.6.370.0120.00814.14
5.6.360.0100.00513.98
5.6.350.0140.00614.31
5.6.340.0130.00214.21
5.6.330.0090.00714.21
5.6.320.0000.01614.02
5.6.310.0130.00014.57
5.6.300.0040.00714.36
5.6.290.0120.00314.29
5.6.280.0090.03717.70
5.6.270.0040.00914.29
5.6.260.0080.01214.16
5.6.250.0170.02217.31
5.6.240.0100.04017.51
5.6.230.0060.03217.31
5.6.220.0080.04317.42
5.6.210.0030.04617.44
5.6.200.0110.04517.85
5.6.190.0100.04417.73
5.6.180.0070.04517.68
5.6.170.0090.04317.69
5.6.160.0110.03717.71
5.6.150.0070.04417.78
5.6.140.0110.03717.63
5.6.130.0080.04617.77
5.6.120.0110.04317.63
5.6.110.0090.03617.71
5.6.100.0080.03917.65
5.6.90.0100.04717.62
5.6.80.0150.02217.32
5.6.70.0070.04117.21
5.6.60.0110.03217.17
5.6.50.0110.04117.37
5.6.40.0030.03217.33
5.6.30.0100.02517.34
5.6.20.0050.04317.29
5.6.10.0140.03717.26
5.6.00.0100.04217.28
5.5.380.0040.04716.57
5.5.370.0110.03716.60
5.5.360.0090.03916.57
5.5.350.0050.04516.57
5.5.340.0090.04116.81
5.5.330.0130.03516.83
5.5.320.0140.04116.76
5.5.310.0080.03816.78
5.5.300.0050.04316.78
5.5.290.0110.04216.85
5.5.280.0060.04216.82
5.5.270.0070.04316.86
5.5.260.0090.03916.79
5.5.250.0060.03916.76
5.5.240.0120.03816.47
5.5.230.0100.03916.45
5.5.220.0030.02916.53
5.5.210.0080.04116.53
5.5.200.0040.04416.49
5.5.190.0030.05016.51
5.5.180.0030.04516.45
5.5.170.0060.00614.27
5.5.160.0020.03616.46
5.5.150.0100.03816.53
5.5.140.0050.04416.52
5.5.130.0040.02716.45
5.5.120.0060.03116.39
5.5.110.0090.04016.51
5.5.100.0080.03816.40
5.5.90.0050.04016.37
5.5.80.0110.03016.43
5.5.70.0070.04116.44
5.5.60.0110.02616.46
5.5.50.0080.04116.47
5.5.40.0070.02716.40
5.5.30.0120.03316.42
5.5.20.0100.04016.44
5.5.10.0100.04016.43
5.5.00.0140.03316.38
5.4.450.0070.04415.98
5.4.440.0060.04016.00
5.4.430.0140.03516.07
5.4.420.0060.03716.10
5.4.410.0070.03816.04
5.4.400.0080.04615.91
5.4.390.0080.04015.98
5.4.380.0030.04515.96
5.4.370.0040.02616.01
5.4.360.0150.03515.96
5.4.350.0050.03815.91
5.4.340.0090.02115.94
5.4.330.0090.00412.79
5.4.320.0070.04215.99
5.4.310.0040.04215.92
5.4.300.0030.04315.82
5.4.290.0050.04215.82
5.4.280.0110.03315.91
5.4.270.0090.03915.82
5.4.260.0100.02215.85
5.4.250.0110.03715.82
5.4.240.0080.04315.81
5.4.230.0020.05015.96
5.4.220.0170.03615.96
5.4.210.0050.04515.98
5.4.200.0100.04015.97
5.4.190.0050.04515.87
5.4.180.0070.03816.00
5.4.170.0120.03615.95
5.4.160.0020.04715.81
5.4.150.0070.02715.83
5.4.140.0070.04014.62
5.4.130.0100.03814.54
5.4.120.0090.03814.64
5.4.110.0100.03614.61
5.4.100.0090.03814.63
5.4.90.0090.03814.63
5.4.80.0030.04014.64
5.4.70.0090.03914.55
5.4.60.0060.02614.60
5.4.50.0050.04014.59
5.4.40.0080.03514.67
5.4.30.0110.03814.59
5.4.20.0110.03314.60
5.4.10.0070.03814.51
5.4.00.0080.03314.32
5.3.290.0070.03713.69
5.3.280.0100.03713.70
5.3.270.0030.04013.69
5.3.260.0070.03813.76
5.3.250.0120.03713.69
5.3.240.0100.03713.68
5.3.230.0090.03713.71
5.3.220.0090.02113.72
5.3.210.0070.02513.68
5.3.200.0090.02613.69
5.3.190.0060.04013.72
5.3.180.0100.03913.65
5.3.170.0070.04013.68
5.3.160.0080.03713.71
5.3.150.0030.04513.73
5.3.140.0030.03313.64
5.3.130.0020.04113.65
5.3.120.0050.02613.67
5.3.110.0020.03713.63
5.3.100.0100.02713.44
5.3.90.0100.03513.45
5.3.80.0060.03813.45
5.3.70.0080.03613.35
5.3.60.0090.03313.46
5.3.50.0080.03613.43
5.3.40.0130.03313.32
5.3.30.0080.03813.29
5.3.20.0020.03113.30
5.3.10.0090.03513.23
5.3.00.0090.03513.28
5.2.170.0070.02711.90
5.2.160.0020.02212.03
5.2.150.0070.03412.00
5.2.140.0050.03411.91
5.2.130.0040.02811.98
5.2.120.0020.02911.97
5.2.110.0080.03211.94
5.2.100.0020.03511.89
5.2.90.0050.03211.97
5.2.80.0040.02411.91
5.2.70.0070.03212.00
5.2.60.0080.02911.97
5.2.50.0050.03511.94
5.2.40.0100.02911.85
5.2.30.0100.03011.84
5.2.20.0080.02811.88
5.2.10.0020.02511.85
5.2.00.0040.03511.78
5.1.60.0090.02511.43
5.1.50.0040.02611.45
5.1.40.0080.02011.38
5.1.30.0070.03011.56
5.1.20.0040.02311.63
5.1.10.0080.02511.35
5.1.00.0070.02411.37
5.0.50.0040.02710.89
5.0.40.0040.02310.89
5.0.30.0030.03510.89
5.0.20.0020.02510.89
5.0.10.0070.01210.89
5.0.00.0020.02110.89
4.4.90.0030.01810.89
4.4.80.0000.01410.89
4.4.70.0000.01410.89
4.4.60.0060.01810.89
4.4.50.0040.01810.89
4.4.40.0020.02910.89
4.4.30.0040.02010.89
4.4.20.0040.01910.89
4.4.10.0080.01510.89
4.4.00.0020.02810.89
4.3.110.0090.01510.89
4.3.100.0030.01910.89
4.3.90.0010.02110.89
4.3.80.0030.02810.89
4.3.70.0020.02010.89
4.3.60.0020.01610.89
4.3.50.0050.01210.89
4.3.40.0050.01510.89
4.3.30.0020.01810.89
4.3.20.0000.02210.89
4.3.10.0060.01110.89
4.3.00.0020.02010.89

preferences:
48.33 ms | 401 KiB | 5 Q