3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = []; foreach($array as $arr){ var_export($arr); }

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.4.120.0100.01020.72
8.4.110.0100.01018.95
8.4.100.0060.00317.59
8.4.90.0150.00518.64
8.4.80.0130.00817.87
8.4.70.0030.00719.54
8.4.60.0140.00518.63
8.4.50.0040.00418.97
8.4.40.0080.01118.80
8.4.30.0080.01218.73
8.4.20.0150.00418.99
8.4.10.0070.00319.23
8.3.250.0090.01017.09
8.3.240.0120.00716.52
8.3.230.0110.00816.35
8.3.220.0130.00517.10
8.3.210.0110.00516.48
8.3.200.0040.00516.69
8.3.190.0050.00319.07
8.3.180.0120.00716.70
8.3.170.0150.00418.51
8.3.160.0070.01118.23
8.3.150.0100.01017.09
8.3.140.0000.00820.67
8.3.130.0040.00418.52
8.3.120.0090.00019.09
8.3.110.0000.01020.94
8.3.100.0030.00624.06
8.3.90.0000.01826.77
8.3.80.0510.00330.84
8.3.70.0500.00330.84
8.3.60.0250.00430.84
8.3.50.0060.01030.84
8.3.40.0270.00730.84
8.3.30.0290.00330.84
8.3.20.0340.00730.84
8.3.10.0330.00630.84
8.3.00.0310.00830.84
8.2.290.0140.00720.37
8.2.280.0040.00418.19
8.2.270.0070.01117.19
8.2.260.0140.00418.14
8.2.250.0080.00016.71
8.2.240.0050.00317.07
8.2.230.0040.00422.58
8.2.220.0040.00437.54
8.2.210.0120.00626.77
8.2.200.0250.01330.84
8.2.190.0330.00630.84
8.2.180.0380.00330.84
8.2.170.0370.01530.84
8.2.160.0290.00730.84
8.2.150.0250.01530.84
8.2.140.0380.00730.84
8.2.130.0310.01230.84
8.2.120.0290.01830.84
8.2.110.0380.00730.84
8.2.100.0350.00730.84
8.2.90.0360.00730.84
8.2.80.0370.00330.84
8.2.70.0320.01130.84
8.2.60.0360.00430.84
8.2.50.0420.00030.84
8.2.40.0390.00030.84
8.2.30.0290.00330.84
8.2.20.0350.00430.84
8.2.10.0230.01630.84
8.2.00.0360.01130.84
8.1.330.0130.00622.16
8.1.320.0120.00716.23
8.1.310.0070.01116.73
8.1.300.0110.00717.57
8.1.290.0350.00930.84
8.1.280.0320.00730.84
8.1.270.0360.00930.84
8.1.260.0420.00330.84
8.1.250.0340.00930.84
8.1.240.0310.00830.84
8.1.230.0380.00430.84
8.1.220.0380.00430.84
8.1.210.0120.02330.84
8.1.200.0220.00330.84
8.1.190.0290.00730.84
8.1.180.0300.00430.84
8.1.170.0180.00630.84
8.1.160.0200.00030.84
8.1.150.0290.00830.84
8.1.140.0330.00430.84
8.1.130.0370.00030.84
8.1.120.0270.01030.84
8.1.110.0310.00630.84
8.1.100.0370.00030.84
8.1.90.0300.00430.84
8.1.80.0300.00730.84
8.1.70.0310.00730.84
8.1.60.0300.00730.84
8.1.50.0400.00430.84
8.1.40.0300.01130.84
8.1.30.0370.00330.84
8.1.20.0440.00830.84
8.1.10.0420.00430.84
8.1.00.0420.00330.84
7.3.330.0210.00716.03
5.3.60.0150.00314.69

preferences:
26.76 ms | 403 KiB | 5 Q