3v4l.org

run code in 500+ PHP versions simultaneously
<?php $format = [new Datetime('2025-01-30'), 'format']; echo call_user_func($format, 'd/m/Y');

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.30.0060.01117.86
8.5.20.0290.00717.76
8.5.10.0300.00716.64
8.5.00.0190.00917.57
8.4.180.0110.01119.89
8.4.170.0270.01021.01
8.4.160.0270.01021.03
8.4.150.0260.00918.71
8.4.140.0320.01017.79
8.4.130.0320.00718.10
8.4.120.0340.00718.27
8.4.110.0360.00918.72
8.4.100.0330.00918.10
8.4.90.0330.00918.03
8.4.80.0330.01017.91
8.4.70.0340.00817.96
8.4.60.0350.00718.08
8.4.50.0340.00818.37
8.4.40.0350.01017.71
8.4.30.0410.00817.70
8.4.20.0390.01017.72
8.4.10.0410.00817.54
8.3.300.0280.00918.78
8.3.290.0290.00918.85
8.3.280.0310.00818.40
8.3.270.0280.00916.59
8.3.260.0320.00816.54
8.3.250.0290.00717.00
8.3.240.0310.00916.66
8.3.230.0320.00716.61
8.3.220.0330.00716.75
8.3.210.0340.00816.61
8.3.200.0320.00716.63
8.3.190.0330.00916.64
8.3.180.0300.00816.96
8.3.170.0300.00916.68
8.3.160.0360.00816.50
8.3.150.0370.00716.43
8.3.140.0350.00916.60
8.3.130.0310.00816.50
8.3.120.0300.00916.48
8.3.110.0320.00816.59
8.3.100.0330.00916.57
8.3.90.0350.00916.56
8.3.80.0300.00916.55
8.3.70.0300.00916.51
8.3.60.0350.00816.50
8.3.50.0350.00916.43
8.3.40.0340.00617.92
8.3.30.0280.00817.81
8.3.20.0300.00617.91
8.3.10.0270.00717.97
8.3.00.0210.00617.90
8.2.300.0330.00918.64
8.2.290.0240.00817.30
8.2.280.0230.00817.29
8.2.270.0310.00816.64
8.2.260.0310.00616.55
8.2.250.0280.00816.65
8.2.240.0300.00816.56
8.2.230.0290.00816.51
8.2.220.0300.00816.63
8.2.210.0270.00916.50
8.2.200.0300.00816.61
8.2.190.0270.00816.57
8.2.180.0280.00816.46
8.2.170.0290.00918.05
8.2.160.0260.01017.94
8.2.150.0320.00717.92
8.2.140.0270.00817.83
8.2.130.0290.00917.79
8.2.120.0310.00817.89
8.2.110.0320.00717.89
8.2.100.0300.00717.88
8.2.90.0310.00717.96
8.2.80.0300.00817.79
8.2.70.0290.00917.93
8.2.60.0290.01117.84
8.2.50.0290.01017.83
8.2.40.0290.00817.84
8.2.30.0270.00817.74
8.2.20.0270.01017.78
8.2.10.0310.00817.72
8.2.00.0290.01117.71

preferences:
50.62 ms | 829 KiB | 5 Q