3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fx = function($string) { return $string; }; ob_start($fx); print_r(ob_list_handlers()); ob_end_flush(); print_r([$fx]);

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.5.10.0120.00516.77
8.5.00.0150.00919.82
8.4.150.0020.00014.05
8.4.140.0110.01017.67
8.4.130.0100.01118.80
8.4.120.0110.01019.58
8.4.110.0060.00618.12
8.4.100.0110.00917.55
8.4.90.0120.00820.71
8.4.80.0110.00918.83
8.4.70.0140.00518.75
8.4.60.0120.00720.69
8.4.50.0130.00718.76
8.4.40.0110.00717.54
8.4.30.0000.01919.00
8.4.20.0060.01617.73
8.4.10.0080.00019.29
8.3.280.0160.00518.40
8.3.270.0130.00616.50
8.3.260.0120.00716.58
8.3.250.0110.00716.64
8.3.240.0100.00816.63
8.3.230.0150.00516.21
8.3.220.0110.00719.11
8.3.210.0070.01116.76
8.3.200.0060.00316.77
8.3.190.0050.00317.32
8.3.180.0110.00918.89
8.3.170.0090.00918.85
8.3.160.0140.00317.12
8.3.150.0060.00317.36
8.3.140.0090.00916.57
8.3.130.0090.00018.22
8.3.120.0000.00818.96
8.3.110.0050.00520.94
8.3.100.0030.00524.06
8.3.90.0110.00726.77
8.3.80.0070.00417.97
8.3.70.0060.01216.63
8.3.60.0070.01118.40
8.3.50.0150.00016.55
8.3.40.0070.00720.47
8.3.30.0100.00321.64
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0000.01028.09
8.2.290.0050.00516.43
8.2.280.0080.00518.18
8.2.270.0110.00717.32
8.2.260.0160.00318.11
8.2.250.0040.00416.58
8.2.240.0030.00518.91
8.2.230.0040.00722.58
8.2.220.0090.00037.54
8.2.210.0040.01526.77
8.2.200.0000.00916.63
8.2.190.0040.01818.16
8.2.180.0040.01216.63
8.2.170.0040.01119.03
8.2.160.0100.01022.96
8.2.150.0030.00625.66
8.2.140.0030.00524.66
8.2.130.0090.00928.09
8.2.120.0090.00028.09
8.2.110.0040.00428.09
8.2.100.0070.01128.09
8.2.90.0060.01328.09
8.2.80.0150.00428.09
8.2.70.0080.00028.09
8.2.60.0040.00428.09
8.2.50.0040.00428.09
8.2.40.0070.00728.09
8.2.30.0110.00728.09
8.2.20.0080.00028.09
8.2.10.0080.00028.09
8.2.00.0180.00028.09
8.1.330.0090.00616.30
8.1.320.0090.01116.14
8.1.310.0070.00018.53
8.1.300.0060.00315.96
8.1.290.0090.00030.84
8.1.280.0110.00425.92
8.1.270.0040.00422.03
8.1.260.0110.00428.09
8.1.250.0110.00428.09
8.1.240.0030.00528.09
8.1.230.0060.00328.09
8.1.220.0060.00328.09
8.1.210.0120.00328.09
8.1.200.0090.00628.09
8.1.190.0080.00028.09
8.1.180.0110.00428.09
8.1.170.0120.00328.09
8.1.160.0060.00328.09
8.1.150.0060.00928.09
8.1.140.0080.00028.09
8.1.130.0080.00028.09
8.1.120.0080.00028.09
8.1.110.0030.01728.09
8.1.100.0060.00328.09
8.1.90.0060.00328.09
8.1.80.0060.00328.09
8.1.70.0060.00328.09
8.1.60.0040.00428.09
8.1.50.0080.00028.09
8.1.40.0060.00328.09
8.1.30.0090.00028.09
8.1.20.0060.00328.09
8.1.10.0090.00028.09
8.1.00.0040.00428.09

preferences:
91.75 ms | 403 KiB | 5 Q