3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = new DateTimeZone( 'CEST' ); var_dump( ( new DateTime( 'now', $d ) )->format( 'P' ), $d->getOffset( new DateTime() ) );

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.20.0100.00317.97
8.4.10.0070.00323.63
8.3.150.0080.00019.00
8.3.140.0040.00416.48
8.3.130.0060.00318.34
8.3.120.0050.01420.51
8.3.110.0000.00816.64
8.3.100.0090.00018.39
8.3.90.0040.01116.86
8.3.80.0090.00016.50
8.3.70.0070.01118.55
8.3.60.0140.00016.50
8.3.50.0140.00720.12
8.3.40.0170.00022.05
8.3.30.0090.00918.67
8.3.20.0050.00324.18
8.3.10.0040.00424.66
8.3.00.0000.00726.16
8.2.270.0070.01117.43
8.2.260.0100.00716.54
8.2.250.0040.00418.64
8.2.240.0040.00416.58
8.2.230.0130.00320.94
8.2.220.0000.00924.06
8.2.210.0000.00826.77
8.2.200.0030.00616.75
8.2.190.0070.00716.75
8.2.180.0090.00625.92
8.2.170.0060.01318.95
8.2.160.0150.00022.96
8.2.150.0070.00025.66
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00421.03
8.2.110.0060.00320.99
8.2.100.0040.00817.78
8.2.90.0000.00817.73
8.2.80.0030.00518.89
8.2.70.0000.00817.48
8.2.60.0040.00417.75
8.2.50.0000.00818.05
8.2.40.0040.00418.22
8.2.30.0050.00217.95
8.2.20.0080.00019.12
8.2.10.0070.00017.94
8.2.00.0040.00419.29
8.1.310.0100.00721.85
8.1.300.0130.00318.48
8.1.290.0060.00318.88
8.1.280.0140.00725.92
8.1.270.0050.00324.66
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0060.00322.18
8.1.230.0040.00817.82
8.1.220.0060.00317.79
8.1.210.0000.00818.77
8.1.200.0030.00517.35
8.1.190.0060.00317.35
8.1.180.0000.00719.98
8.1.170.0000.00818.71
8.1.160.0040.00418.93
8.1.150.0000.00718.68
8.1.140.0000.00717.49
8.1.130.0030.00617.61
8.1.120.0050.00317.50
8.1.110.0050.00517.56
8.1.100.0050.00317.42
8.1.90.0100.00317.20
8.1.80.0130.00217.04
8.1.70.0160.00017.05
8.1.60.0000.01316.86
8.1.50.0140.00317.04
8.1.40.0080.00817.21
8.1.30.0070.00717.50
8.1.20.0110.00417.32
8.1.10.0000.01517.15
8.1.00.0130.00317.07
8.0.300.0000.00718.77
8.0.290.0040.00416.88
8.0.280.0060.00020.16
8.0.270.0080.00017.31
8.0.260.0030.00316.96
8.0.250.0080.00016.99
8.0.240.0090.00516.79
8.0.230.0030.01016.64
8.0.220.0070.00716.63
8.0.210.0150.00016.69
8.0.200.0140.00016.65
8.0.190.0090.00616.72
8.0.180.0090.00616.59
8.0.170.0110.00316.51
8.0.160.0060.00716.50
8.0.150.0090.00416.32
8.0.140.0000.01416.57
8.0.130.0050.00816.66
8.0.120.0150.00016.66
8.0.110.0090.00416.67
8.0.100.0050.01016.57
8.0.90.0070.01016.48
8.0.80.0160.00016.81
8.0.70.0130.00316.55
8.0.60.0090.00916.52
8.0.50.0100.00716.60
8.0.30.0060.00916.38
8.0.20.0130.00016.71
8.0.10.0120.00416.71
7.4.330.0000.00515.55
7.4.320.0100.00716.30
7.4.300.0120.00016.08
7.4.290.0000.01216.21
7.4.280.0150.00016.29
7.4.270.0130.00416.08
7.4.260.0100.00716.27
7.4.250.0160.00016.24
7.4.240.0130.00316.13
7.4.230.0110.00715.61
7.4.220.0060.00816.08
7.4.210.0070.00716.56
7.4.200.0140.00016.16
7.4.190.0040.00716.58
7.4.180.0050.00916.54
7.4.160.0030.01015.97
7.4.150.0000.01516.17
7.4.140.0140.00216.14
7.4.130.0110.00516.04
7.4.120.0120.00216.02
7.4.110.0050.01016.43
7.4.100.0100.00316.36
7.4.90.0060.00616.20
7.4.80.0080.00516.20
7.4.70.0060.00616.04
7.4.60.0140.00015.80
7.4.50.0110.00216.01
7.4.40.0070.00716.14
7.4.30.0080.00615.77
7.4.20.0090.00415.91
7.4.10.0090.00516.36
7.4.00.0110.00316.06

preferences:
81.73 ms | 403 KiB | 5 Q