3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = new DateTime(); echo IntlDateFormatter::formatObject($time)."\n"; echo IntlDateFormatter::formatObject($time, [IntlDateFormatter::NONE, IntlDateFormatter::MEDIUM])."\n"; echo IntlDateFormatter::formatObject($time, 'Y-m-d')."\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.3.60.0200.00319.75
8.3.50.0130.00823.61
8.3.40.0130.01021.21
8.3.30.0090.00621.13
8.3.20.0080.00022.41
8.3.10.0030.00625.91
8.3.00.0000.01022.50
8.2.180.0070.01321.52
8.2.170.0150.00722.96
8.2.160.0110.00424.38
8.2.150.0040.00424.18
8.2.140.0000.00924.66
8.2.130.0090.00026.16
8.2.120.0230.00020.38
8.2.110.0040.00824.45
8.2.100.0080.00820.91
8.2.90.0030.00621.59
8.2.80.0090.00020.63
8.2.70.0040.01220.63
8.2.60.0030.00620.93
8.2.50.0150.00020.38
8.2.40.0080.00024.18
8.2.30.0080.00022.88
8.2.20.0080.00020.91
8.2.10.0000.00821.05
8.2.00.0060.00320.96
8.1.280.0160.00725.92
8.1.270.0070.00325.98
8.1.260.0090.00026.35
8.1.250.0060.00328.09
8.1.240.0100.00024.73
8.1.230.0060.00622.55
8.1.220.0000.00820.79
8.1.210.0000.00820.48
8.1.200.0060.00620.35
8.1.190.0040.00420.47
8.1.180.0030.00620.53
8.1.170.0080.00022.00
8.1.160.0000.00824.29
8.1.150.0030.00521.09
8.1.140.0040.00422.48
8.1.130.0040.00420.81
8.1.120.0040.00420.64
8.1.110.0080.00020.61
8.1.100.0000.00820.70
8.1.90.0000.00820.61
8.1.80.0030.00620.51
8.1.70.0000.00820.66
8.1.60.0030.00620.79
8.1.50.0030.00620.60
8.1.40.0040.00720.71
8.1.30.0000.00920.69
8.1.20.0060.00320.54
8.1.10.0030.00520.78
8.1.00.0100.00020.71
8.0.300.0000.00820.16
8.0.290.0040.00420.00
8.0.280.0040.00420.65
8.0.270.0120.00620.29
8.0.260.0030.00720.33
8.0.250.0030.00620.27
8.0.240.0040.00420.29
8.0.230.0000.00920.07
8.0.220.0030.00520.20
8.0.210.0040.00420.21
8.0.200.0030.00620.27
8.0.190.0030.00520.08
8.0.180.0030.00520.27
8.0.170.0100.00020.13
8.0.160.0040.00420.12
8.0.150.0030.00720.11
8.0.140.0040.00420.05
8.0.130.0030.00313.44
8.0.120.0090.00020.12
8.0.110.0030.00619.84
8.0.100.0060.00320.04
8.0.90.0000.00820.00
8.0.80.0090.00619.96
8.0.70.0040.00420.15
8.0.60.0030.00520.26
8.0.50.0040.00419.93
8.0.30.0110.00620.49
8.0.20.0120.00920.49
8.0.10.0030.00619.88
8.0.00.0080.01220.07
7.4.330.0020.00215.11
7.4.320.0070.00019.79
7.4.300.0000.00719.89
7.4.290.0030.00619.79
7.4.280.0060.00320.00
7.4.270.0000.00719.79
7.4.260.0000.00819.79
7.4.250.0040.00419.75
7.4.240.0040.00419.91
7.4.230.0000.00819.63
7.4.220.0130.00719.75
7.4.210.0120.00619.85
7.4.200.0000.00920.03
7.4.160.0000.01719.78
7.4.150.0100.01019.67
7.4.140.0140.01119.77
7.4.130.0260.01619.86
7.4.120.0070.01219.79
7.4.110.0160.00319.70
7.4.100.0140.01119.86
7.4.90.0200.00819.75
7.4.80.0040.01619.79
7.4.70.0060.01219.67
7.4.60.0100.01019.97
7.4.50.0030.00619.66
7.4.40.0120.00919.74
7.4.30.0060.01219.84
7.4.00.0100.01018.16
7.3.330.0050.00013.30
7.3.320.0000.00513.09
7.3.310.0030.00519.28
7.3.300.0030.00519.65
7.3.290.0100.00619.46
7.3.280.0110.01119.43
7.3.270.0100.01019.45
7.3.260.0160.00419.32
7.3.240.0190.00919.64
7.3.230.0130.00619.48
7.3.210.0060.01219.57
7.3.200.0060.01319.53
7.3.190.0120.00619.29
7.3.180.0040.01519.82
7.3.170.0110.00719.87
7.3.160.0030.01319.95
7.2.330.0120.00619.86
7.2.320.0150.00719.32
7.2.310.0120.00619.71
7.2.300.0150.00919.89
7.2.290.0070.01119.96
7.2.120.0040.01119.81
7.2.110.0030.01019.57
7.2.100.0110.00419.52
7.2.90.0000.01419.79
7.2.80.0070.00719.81
7.2.70.0040.01519.76
7.2.60.0050.01019.98
7.2.50.0040.01419.89
7.2.40.0070.01020.01
7.2.30.0060.00919.71
7.2.20.0040.01120.23
7.2.10.0060.00920.11
7.2.00.0040.00921.61
7.1.240.0060.00618.70
7.1.230.0000.01318.86
7.1.220.0040.00719.17
7.1.210.0070.00719.13
7.1.200.0070.00719.00
7.1.190.0070.01018.88
7.1.180.0070.01019.09
7.1.170.0090.00619.08
7.1.160.0070.00718.91
7.1.150.0090.00618.96
7.1.140.0070.00718.92
7.1.130.0040.01218.99
7.1.120.0040.01118.88
7.1.110.0060.00618.95
7.1.100.0080.00420.27
7.1.90.0000.01319.25
7.1.80.0040.01119.07
7.1.70.0030.01019.66
7.1.60.0080.01219.97
7.1.50.0110.00819.60
7.1.40.0070.00718.92
7.1.30.0060.00619.15
7.1.20.0040.01119.01
7.1.10.0030.01019.04
7.1.00.0080.04022.17
7.0.320.0040.01118.92
7.0.310.0040.00818.85
7.0.300.0070.00318.80
7.0.290.0030.01118.93
7.0.280.0100.00718.61
7.0.270.0140.00018.64
7.0.260.0070.00718.50
7.0.250.0100.00318.88
7.0.240.0100.00618.93
7.0.230.0040.01118.67
7.0.220.0030.00918.77
7.0.210.0150.00019.00
7.0.200.0130.00618.49
7.0.190.0070.00718.91
7.0.180.0070.00718.91
7.0.170.0040.00718.78
7.0.160.0110.00418.67
7.0.150.0070.00718.70
7.0.140.0060.00918.94
7.0.130.0080.00818.73
7.0.120.0060.00318.45
7.0.110.0040.01118.83
7.0.100.0070.00718.89
7.0.90.0070.00418.64
7.0.80.0110.00318.71
7.0.70.0090.00318.63
7.0.60.0080.04520.90
7.0.50.0070.02918.15
7.0.40.0050.04719.94
7.0.30.0180.02319.81
7.0.20.0210.04319.65
7.0.10.0040.02719.85
7.0.00.0050.05019.86
5.6.380.0040.01117.48
5.6.370.0100.00617.65
5.6.360.0070.01017.43
5.6.350.0060.01017.60
5.6.340.0070.01017.64
5.6.330.0030.01017.54
5.6.320.0100.00317.32
5.6.310.0040.01117.82
5.6.300.0140.00317.70
5.6.290.0030.01017.53
5.6.280.0050.02120.83
5.6.270.0090.00617.34
5.6.260.0060.00917.66
5.6.250.0110.00317.56
5.6.240.0030.01217.61
5.6.230.0070.00717.60
5.6.220.0070.01017.74
5.6.210.0100.03020.63
5.6.200.0080.04217.81
5.6.190.0070.03220.43
5.6.180.0150.02720.44
5.6.170.0100.04820.45
5.6.160.0050.03220.42
5.6.150.0100.01817.82
5.6.140.0120.02317.83
5.6.130.0050.02517.92
5.6.120.0070.03220.71
5.6.110.0050.04720.83
5.6.100.0050.05120.74
5.6.90.0070.02820.66
5.6.80.0200.03020.56
5.6.70.0030.00917.50
5.6.60.0100.00317.46
5.6.50.0030.00917.62
5.6.40.0040.00717.49
5.6.30.0040.00817.30
5.6.20.0060.00617.57
5.6.10.0030.00717.26
5.6.00.0030.01017.42
5.5.380.0040.00811.19
5.5.370.0080.00410.94
5.5.360.0080.00311.24
5.5.350.0230.03317.44
5.5.340.0070.02614.67
5.5.330.0080.04317.39
5.5.320.0050.03217.14
5.5.310.0190.02017.09
5.5.300.0020.02914.62
5.5.290.0030.03214.48
5.5.280.0080.02717.63
5.5.270.0030.03417.57
5.5.260.0070.04717.50
5.5.250.0130.03517.39
5.5.240.0070.02117.24
5.5.230.0060.00610.94
5.5.220.0000.01211.09
5.5.210.0060.00610.85
5.5.200.0000.01211.27
5.5.190.0040.00711.25
5.5.180.0060.00611.09
5.5.170.0030.00717.56
5.5.160.0000.01111.01
5.5.150.0000.01111.26
5.5.140.0080.00311.00
5.5.130.0000.01011.02
5.5.120.0110.00011.15
5.5.110.0070.00410.98
5.5.100.0000.01110.71
5.5.90.0060.00611.01
5.5.80.0050.00310.69
5.5.70.0030.00611.18
5.5.60.0030.00710.84
5.5.50.0040.00411.07
5.5.40.0030.00611.04
5.5.30.0040.00711.29
5.5.20.0000.01210.96
5.5.10.0060.00310.93
5.5.00.0030.00311.02
5.4.450.0070.03815.36
5.4.440.0120.04015.09
5.4.430.0070.04115.30
5.4.420.0090.03915.25
5.4.410.0120.03015.05
5.4.400.0470.02114.98
5.4.390.0390.03115.11
5.4.380.0180.03215.08
5.4.370.0120.02914.96
5.4.360.0150.03215.02
5.4.350.0130.02814.98
5.4.340.0100.03814.96
5.4.330.0000.01010.86
5.4.320.0110.03014.99
5.4.310.0190.02715.01
5.4.300.0120.03515.06
5.4.290.0150.02914.99
5.4.280.0190.03515.08
5.4.270.0320.03715.04
5.4.260.0060.03315.05
5.4.250.0170.02515.18
5.4.240.0270.03014.91
5.4.230.0190.03915.14
5.4.220.0140.03415.01
5.4.210.0140.03114.95
5.4.200.0050.03415.05
5.4.190.0200.02615.07
5.4.180.0150.03114.91
5.4.170.0180.02514.83
5.4.160.0080.03914.83
5.4.150.0200.03214.93
5.4.140.0090.03013.76
5.4.130.0210.01813.70
5.4.120.0130.02513.88
5.4.110.0120.03513.69
5.4.100.0210.03913.61
5.4.90.0070.03413.62
5.4.80.0100.03113.73
5.4.70.0160.02813.64
5.4.60.0180.02413.50
5.4.50.0150.02213.61
5.4.40.0170.03213.68
5.4.30.0100.03613.72
5.4.20.0110.03113.56
5.4.10.0100.02813.77
5.4.00.0050.03713.39

preferences:
57.77 ms | 401 KiB | 5 Q