3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Just a small image from http://probablyprogramming.com/2009/03/15/the-tiniest-gif-ever $blob = base64_decode('R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='); $finfo = new finfo(FILEINFO_MIME); echo $finfo->buffer($blob) . "\n";

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.00.0110.01020.29
8.4.150.0030.00014.05
8.4.140.0110.01218.05
8.4.130.0110.00819.27
8.4.120.0060.00323.97
8.4.110.0130.01121.07
8.4.100.0160.00919.05
8.4.90.0110.00622.78
8.4.80.0170.00619.18
8.4.70.0140.00618.20
8.4.60.0120.00819.46
8.4.50.0120.00822.49
8.4.40.0030.00617.91
8.4.30.0130.01019.13
8.4.20.0100.01019.80
8.4.10.0090.00920.15
8.3.280.0110.00918.88
8.3.270.0080.01116.75
8.3.260.0110.00916.70
8.3.250.0130.00718.83
8.3.240.0110.00817.47
8.3.230.0140.00617.23
8.3.220.0030.00518.95
8.3.210.0080.01019.03
8.3.200.0030.00717.13
8.3.190.0060.01317.75
8.3.180.0140.00518.94
8.3.170.0120.00617.45
8.3.160.0060.00316.71
8.3.150.0160.00317.65
8.3.140.0060.01317.06
8.3.130.0040.00418.83
8.3.120.0030.00620.65
8.3.110.0100.01020.94
8.3.100.0060.00316.87
8.3.90.0400.00626.77
8.3.80.0390.01026.77
8.3.70.0430.00726.77
8.3.60.0360.01126.77
8.3.50.0250.00826.77
8.3.40.0270.01126.77
8.3.30.0360.00626.77
8.3.20.0320.01126.77
8.3.10.0260.01326.77
8.3.00.0320.01126.77
8.2.290.0070.01120.32
8.2.280.0090.01018.23
8.2.270.0060.01317.16
8.2.260.0120.00318.91
8.2.250.0000.01116.84
8.2.240.0060.00319.23
8.2.230.0030.00622.58
8.2.220.0080.00824.06
8.2.210.0200.01626.77
8.2.200.0340.00926.77
8.2.190.0320.00626.77
8.2.180.0220.01126.77
8.2.170.0260.00726.77
8.2.160.0240.00826.77
8.2.150.0240.00926.77
8.2.140.0360.00226.77
8.2.130.0300.00826.77
8.2.120.0360.01026.77
8.2.110.0430.00926.77
8.2.100.0320.00526.77
8.2.90.0310.00626.77
8.2.80.0240.00526.77
8.2.70.0360.00626.77
8.2.60.0340.00426.77
8.2.50.0370.00626.77
8.2.40.0290.01326.77
8.2.30.0350.00826.77
8.2.20.0260.01626.77
8.2.10.0390.00226.77
8.2.00.0340.00626.77
8.1.330.0110.00821.98
8.1.320.0130.00718.01
8.1.310.0040.00416.88
8.1.300.0120.00619.48
8.1.290.0350.00826.77
8.1.280.0290.01226.77
8.1.270.0300.01326.77
8.1.260.0350.00826.77
8.1.250.0350.00926.77
8.1.240.0310.00626.77
8.1.230.0290.01326.77
8.1.220.0360.00726.77
8.1.210.0320.00626.77
8.1.200.0340.00526.77
8.1.190.0280.01026.77
8.1.180.0300.00826.77
8.1.170.0310.00726.77
8.1.160.0290.00626.77
8.1.150.0270.01326.77
8.1.140.0280.00826.77
8.1.130.0260.00926.77
8.1.120.0330.00826.77
8.1.110.0280.01126.77
8.1.100.0310.00726.77
8.1.90.0280.00926.77
8.1.80.0270.01126.77
8.1.70.0290.00926.77
8.1.60.0330.00926.77
8.1.50.0300.01326.77
8.1.40.0340.00926.77
8.1.30.0300.01226.77
8.1.20.0420.00626.77
8.1.10.0370.00926.77
8.1.00.0390.00726.77

preferences:
73.99 ms | 403 KiB | 5 Q