3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dt = '2011-12-17 09:30:56'; preg_match_all('/\d+/', $dt, $m); var_export( $m[0] );

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.0090.01023.98
8.4.110.0140.00621.73
8.4.100.0050.00518.91
8.4.90.0090.01218.54
8.4.80.0110.00918.70
8.4.70.0050.00418.20
8.4.60.0140.00718.65
8.4.50.0140.00618.59
8.4.40.0110.00017.64
8.4.30.0030.01618.86
8.4.20.0030.01319.69
8.4.10.0060.00319.47
8.3.250.0100.00718.85
8.3.240.0090.00918.68
8.3.230.0100.00316.78
8.3.220.0130.00619.06
8.3.210.0100.01016.68
8.3.200.0050.00416.48
8.3.190.0030.00517.11
8.3.180.0060.00218.89
8.3.170.0060.01317.18
8.3.160.0150.00316.62
8.3.150.0070.01116.99
8.3.140.0090.00920.61
8.3.130.0000.00818.66
8.3.120.0060.00318.43
8.3.110.0420.00616.45
8.3.100.0370.01616.46
8.3.90.0280.00416.55
8.3.80.0300.00716.50
8.3.70.0260.00616.38
8.3.60.0190.00816.38
8.3.50.0260.00016.38
8.3.40.0090.01217.38
8.3.30.0180.00417.49
8.3.20.0140.00717.50
8.3.10.0130.00817.23
8.3.00.0100.01017.38
8.2.290.0120.00720.45
8.2.280.0130.00620.42
8.2.270.0040.00417.04
8.2.260.0040.00417.26
8.2.250.0030.00518.57
8.2.240.0030.00617.30
8.2.230.0160.00616.50
8.2.220.0150.00716.49
8.2.210.0200.00016.37
8.2.200.0200.00316.22
8.2.190.0150.00816.50
8.2.180.0110.00716.77
8.2.170.0250.00017.50
8.2.160.0160.00617.50
8.2.150.0150.00717.50
8.2.140.0150.00617.50
8.2.130.0210.00317.34
8.2.120.0260.00317.63
8.2.110.0270.00917.48
8.2.100.0360.00717.25
8.2.90.0430.00017.63
8.2.80.0330.01017.50
8.2.70.0340.01017.48
8.2.60.0320.01117.63
8.2.50.0390.00717.60
8.2.40.0350.00417.50
8.2.30.0180.00417.48
8.2.20.0130.00517.49
8.2.10.0100.01017.47
8.2.00.0270.00017.25
8.1.330.0130.00521.89
8.1.320.0130.00718.25
8.1.310.0030.01016.55
8.1.300.0030.00618.28
8.1.290.0250.01115.86
8.1.280.0360.00316.00
8.1.270.0240.01417.13
8.1.260.0360.00917.23
8.1.250.0400.00717.25
8.1.240.0380.01217.13
8.1.230.0330.00917.11
8.1.220.0260.01317.13
8.1.210.0430.00017.13
8.1.200.0310.00817.13
8.1.190.0350.00317.00
8.1.180.0300.01017.13
8.1.170.0250.01117.09
8.1.160.0250.01417.11
8.1.150.0320.00417.25
8.1.140.0360.00317.13
8.1.130.0240.01017.36
8.1.120.0260.01317.38
8.1.110.0250.01417.25
8.1.100.0250.01417.23
8.1.90.0400.00017.13
8.1.80.0290.01017.38
8.1.70.0280.01017.35
8.1.60.0320.01117.00
8.1.50.0320.01017.38
8.1.40.0330.01017.25
8.1.30.0330.00717.50
8.1.20.0310.00417.50
8.1.10.0410.00017.38
8.1.00.0390.00417.23

preferences:
33.26 ms | 403 KiB | 5 Q