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(); } } echo 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.0070.01116.25
8.3.60.0060.00818.18
8.3.50.0110.00418.07
8.3.40.0070.01018.89
8.3.30.0120.00318.54
8.3.20.0070.00018.97
8.3.10.0040.00423.39
8.3.00.0000.00720.58
8.2.190.0040.01116.61
8.2.180.0060.00918.04
8.2.170.0120.00322.96
8.2.160.0060.01020.39
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00419.66
8.2.110.0090.00020.95
8.2.100.0080.00417.66
8.2.90.0040.00417.91
8.2.80.0090.00017.97
8.2.70.0000.00817.93
8.2.60.0060.00318.09
8.2.50.0030.00518.10
8.2.40.0040.00419.15
8.2.30.0040.00419.05
8.2.20.0050.00217.86
8.2.10.0080.00017.86
8.2.00.0040.00417.59
8.1.280.0120.00625.92
8.1.270.0040.00420.60
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0070.00420.18
8.1.230.0080.00322.81
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0000.01217.10
8.1.190.0080.00017.30
8.1.180.0000.00918.10
8.1.170.0000.00918.61
8.1.160.0070.00018.81
8.1.150.0030.00618.79
8.1.140.0070.00022.12
8.1.130.0000.00721.97
8.1.120.0030.00317.29
8.1.110.0070.00017.34
8.1.100.0040.00417.37
8.1.90.0000.00817.33
8.1.80.0050.00217.36
8.1.70.0030.00317.30
8.1.60.0040.00417.49
8.1.50.0040.00417.36
8.1.40.0000.00717.50
8.1.30.0000.01017.55
8.1.20.0000.00817.53
8.1.10.0070.00017.46
8.1.00.0040.00417.45
8.0.300.0040.00419.60
8.0.290.0060.00316.75
8.0.280.0040.00418.31
8.0.270.0030.00317.16
8.0.260.0060.00318.50
8.0.250.0070.00016.85
8.0.240.0080.00016.84
8.0.230.0030.00316.93
8.0.220.0030.00316.80
8.0.210.0070.00016.83
8.0.200.0030.00316.89
8.0.190.0040.00416.93
8.0.180.0000.00816.86
8.0.170.0080.00016.90
8.0.160.0000.01016.77
8.0.150.0040.00416.69
8.0.140.0000.00716.73
8.0.130.0050.00013.29
8.0.120.0070.00016.84
8.0.110.0050.00316.76
8.0.100.0070.00016.70
8.0.90.0040.00416.61
8.0.80.0080.01016.82
8.0.70.0040.00416.79
8.0.60.0040.00416.82
8.0.50.0000.00716.58
8.0.30.0090.01116.92
8.0.20.0160.00317.40
8.0.10.0040.00416.78
8.0.00.0100.00916.63
7.4.330.0000.00515.55
7.4.320.0030.00316.54
7.4.300.0070.00016.48
7.4.290.0000.00716.59
7.4.280.0100.00016.40
7.4.270.0030.00316.46
7.4.260.0000.00716.62
7.4.250.0030.00516.45
7.4.240.0070.00016.64
7.4.230.0030.00616.65
7.4.220.0050.00216.59
7.4.210.0060.00916.49
7.4.200.0070.00016.33
7.4.160.0060.00916.48
7.4.140.0090.01117.86
7.4.130.0110.00716.57
7.4.120.0070.01016.47
7.4.110.0170.00616.48
7.4.100.0100.00716.49
7.4.90.0160.00016.32
7.4.80.0060.01219.39
7.4.70.0150.00016.45
7.4.60.0070.01016.40
7.4.50.0090.00616.38
7.4.40.0030.01416.69
7.4.00.0110.00314.83
7.3.330.0020.00213.32
7.3.320.0030.00313.27
7.3.310.0030.00616.32
7.3.300.0030.00316.29
7.3.290.0030.00316.24
7.3.280.0060.00916.27
7.3.260.0120.00816.26
7.3.240.0160.00216.36
7.3.230.0120.00616.23
7.3.210.0090.00916.54
7.3.200.0130.00716.64
7.3.190.0150.00616.53
7.3.180.0090.00616.62
7.3.170.0110.01116.46
7.3.160.0130.00716.44
7.2.330.0170.00016.71
7.2.320.0110.01116.52
7.2.310.0090.00616.53
7.2.300.0080.00816.62
7.2.290.0080.01116.64
7.2.110.0200.00014.53
7.2.100.0120.00814.65
7.2.90.0210.00014.54
7.2.80.0110.00414.75
7.2.70.0420.00615.12
7.2.60.0110.00615.00
7.2.50.0050.00915.10
7.2.40.0880.00915.04
7.2.30.0060.01215.13
7.2.20.0170.00314.80
7.2.10.0090.00714.71
7.2.00.0250.00414.84
7.1.230.0080.00413.71
7.1.220.0050.00713.70
7.1.210.0090.00613.72
7.1.200.0080.00813.87
7.1.190.0080.00414.02
7.1.180.0110.00413.95
7.1.170.0100.00313.91
7.1.160.0830.00713.43
7.1.150.0470.00313.87
7.1.140.0110.00413.71
7.1.130.0110.00513.46
7.1.120.0660.00413.27
7.1.110.0070.00713.58
7.1.100.0150.00313.86
7.1.90.0030.01013.63
7.1.80.0070.00713.66
7.1.70.0150.00313.71
7.1.60.0360.01031.45
7.1.50.0230.01031.81
7.1.40.0270.00731.72
7.1.30.0460.00431.89
7.1.20.0350.00431.54
7.1.10.0030.00913.33
7.1.00.0090.01313.32
5.6.380.0080.00813.65

preferences:
58.53 ms | 401 KiB | 5 Q