3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Hello{ public static function outPut(){ return "hello world"; } public static function contentSecond(){ return "Output from second function easily ".self::outPut(); } } Hello::contentSecond();

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.0040.01516.36
8.3.60.0040.01118.31
8.3.50.0040.01417.83
8.3.40.0110.00718.67
8.3.30.0110.00418.56
8.3.20.0060.00319.27
8.3.10.0040.00423.70
8.3.00.0050.00320.66
8.2.190.0160.00316.58
8.2.180.0160.00318.13
8.2.170.0070.01122.96
8.2.160.0100.01022.13
8.2.150.0060.00324.18
8.2.140.0090.00024.66
8.2.130.0050.00318.09
8.2.120.0060.00326.35
8.2.110.0030.00619.19
8.2.100.0080.00417.61
8.2.90.0070.00417.75
8.2.80.0000.00917.97
8.2.70.0030.00617.91
8.2.60.0000.00818.16
8.2.50.0040.00418.10
8.2.40.0070.00019.31
8.2.30.0040.00419.10
8.2.20.0070.00017.93
8.2.10.0080.00017.89
8.2.00.0050.00317.49
8.1.280.0110.00425.92
8.1.270.0000.01020.64
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0100.00722.46
8.1.230.0040.00722.24
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0040.00417.23
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0040.00418.51
8.1.160.0040.00418.70
8.1.150.0040.00418.75
8.1.140.0030.00523.88
8.1.130.0000.00721.92
8.1.120.0030.00317.21
8.1.110.0000.00817.21
8.1.100.0050.00217.14
8.1.90.0060.00317.33
8.1.80.0040.00417.36
8.1.70.0040.00417.27
8.1.60.0000.00817.50
8.1.50.0070.00217.44
8.1.40.0080.00017.32
8.1.30.0110.00017.47
8.1.20.0000.00817.45
8.1.10.0040.00417.33
8.1.00.0030.00617.36
8.0.300.0000.01218.77
8.0.290.0100.00016.75
8.0.280.0040.00418.41
8.0.270.0000.00717.12
8.0.260.0040.00418.30
8.0.250.0040.00416.98
8.0.240.0040.00416.81
8.0.230.0000.00716.95
8.0.220.0000.00716.76
8.0.210.0040.00416.79
8.0.200.0000.00716.85
8.0.190.0000.00816.83
8.0.180.0090.00016.91
8.0.170.0000.00916.82
8.0.160.0100.00016.88
8.0.150.0040.00416.93
8.0.140.0040.00416.83
8.0.130.0000.00513.29
8.0.120.0080.00016.78
8.0.110.0000.00716.79
8.0.100.0080.00016.66
8.0.90.0070.00016.87
8.0.80.0110.00716.68
8.0.70.0070.00016.80
8.0.60.0030.00516.65
8.0.50.0080.00016.54
8.0.30.0110.00916.85
8.0.20.0140.00517.40
8.0.10.0040.00416.74
8.0.00.0160.00516.79
7.4.330.0000.00515.55
7.4.320.0030.00316.30
7.4.300.0000.00616.59
7.4.290.0060.00316.48
7.4.280.0050.00516.53
7.4.270.0040.00416.58
7.4.260.0000.00716.43
7.4.250.0030.00316.34
7.4.240.0030.00316.46
7.4.230.0040.00416.43
7.4.220.0000.00716.52
7.4.210.0080.00516.48
7.4.200.0040.00416.43
7.4.160.0090.00616.40
7.4.140.0110.00917.86
7.4.130.0110.00516.44
7.4.120.0100.00816.42
7.4.110.0110.00616.46
7.4.100.0160.00016.47
7.4.90.0080.00816.43
7.4.80.0080.00819.39
7.4.70.0130.00716.52
7.4.60.0060.01116.41
7.4.50.0160.00316.30
7.4.40.0100.00716.62
7.4.00.0000.01414.86
7.3.330.0030.00313.29
7.3.320.0000.00613.24
7.3.310.0060.00316.14
7.3.300.0000.00616.31
7.3.290.0070.00016.28
7.3.280.0130.00716.32
7.3.260.0110.00816.41
7.3.240.0110.00616.46
7.3.230.0170.00716.48
7.3.210.0090.01316.23
7.3.200.0100.00616.58
7.3.190.0130.00616.39
7.3.180.0100.00716.32
7.3.170.0120.00916.26
7.3.160.0090.00916.41
7.3.120.0040.01414.72
7.3.110.0100.00714.67
7.3.100.0070.00714.89
7.3.90.0130.00314.70
7.3.80.0000.01014.66
7.3.70.0060.00914.73
7.3.60.0030.00714.68
7.3.50.0070.00714.79
7.3.40.0040.00814.66
7.3.30.0070.00814.77
7.3.20.0110.00316.71
7.3.10.0110.00416.76
7.3.00.0040.00716.64
7.2.330.0110.00716.61
7.2.320.0050.01216.67
7.2.310.0130.01016.57
7.2.300.0070.01016.32
7.2.290.0150.00716.38
7.2.240.0040.00415.11
7.2.230.0000.00915.02
7.2.220.0030.00614.69
7.2.210.0040.01115.13
7.2.200.0060.00615.02
7.2.190.0070.00714.80
7.2.180.0080.00815.05
7.2.170.0040.01414.89
7.2.160.0070.00714.94
7.2.150.0030.01316.81
7.2.140.0090.00616.70
7.2.130.0030.01416.93
7.2.120.0070.00716.83
7.2.110.0130.00615.65
7.2.100.0080.01315.59
7.2.90.0100.01015.87
7.2.80.0130.00715.79
7.2.70.0100.00915.88
7.2.60.0420.01415.92
7.2.50.0140.00815.84
7.2.40.0160.00615.93
7.2.30.0100.01115.93
7.2.20.0100.00815.77
7.2.10.0290.01015.81
7.2.00.0050.01015.78
7.1.330.0070.00715.62
7.1.320.0100.00315.56
7.1.310.0030.01015.56
7.1.300.0030.01015.47
7.1.290.0070.01015.68
7.1.280.0030.00715.65
7.1.270.0030.01015.47
7.1.260.0000.01215.49
7.1.250.0030.01015.75
7.1.230.0060.01313.51
7.1.220.0140.00413.88
7.1.210.0200.00313.76
7.1.200.0180.00713.88
7.1.190.0180.00313.50
7.1.180.0230.01013.63
7.1.170.0000.01713.89
7.1.160.0490.00613.80
7.1.150.0080.01613.73
7.1.140.0050.01413.94
7.1.130.0810.00613.84
7.1.120.0440.00313.80
7.1.110.0190.01013.70
7.1.100.0230.00513.92
7.1.90.0230.00013.76
7.1.80.0170.00413.73
7.1.70.0040.01713.94
7.1.60.0320.00632.03
7.1.50.0310.01431.90
7.1.40.0300.01131.80
7.1.30.0350.00331.96
7.1.20.0370.00731.84
7.1.10.0180.00913.86
7.1.00.0230.00313.70
5.6.380.0110.00714.11

preferences:
61.43 ms | 401 KiB | 5 Q