3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = null; echo serialize(['brand_user_id' => 123, 'last_login_dt' => $foo ? $foo->format('Y-m-d') : null]); print_r(unserialize('a:2:{s:13:"brand_user_id";i:123;s:13:"last_login_dt";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.0140.00718.18
8.3.50.0180.00718.27
8.3.40.0070.00718.77
8.3.30.0070.00718.51
8.3.20.0070.00020.34
8.3.10.0000.00823.48
8.3.00.0060.00919.12
8.2.180.0060.00816.50
8.2.170.0090.00622.96
8.2.160.0100.00320.35
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0050.00322.08
8.2.120.0120.00026.35
8.2.110.0060.00320.86
8.2.100.0090.00317.84
8.2.90.0000.00819.17
8.2.80.0060.00317.97
8.2.70.0040.00417.63
8.2.60.0040.00418.04
8.2.50.0000.00718.10
8.2.40.0000.00720.42
8.2.30.0050.00219.36
8.2.20.0030.00518.13
8.2.10.0040.00418.05
8.2.00.0040.00418.08
8.1.280.0070.00725.92
8.1.270.0090.00020.25
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0100.00020.82
8.1.230.0070.00417.71
8.1.220.0040.00417.78
8.1.210.0050.00318.77
8.1.200.0000.00817.22
8.1.190.0030.00517.23
8.1.180.0000.00918.10
8.1.170.0040.00418.61
8.1.160.0000.00818.69
8.1.150.0040.00418.80
8.1.140.0000.00817.59
8.1.130.0030.00520.79
8.1.120.0030.00317.39
8.1.110.0040.00417.26
8.1.100.0000.00817.32
8.1.90.0030.00617.41
8.1.80.0070.00317.35
8.1.70.0000.00717.29
8.1.60.0030.00817.54
8.1.50.0030.00517.42
8.1.40.0060.00317.46
8.1.30.0000.00717.50
8.1.20.0030.00617.55
8.1.10.0000.00717.43
8.1.00.0050.00517.36
8.0.300.0030.00418.77
8.0.290.0040.00416.63
8.0.280.0050.00318.32
8.0.270.0000.00717.25
8.0.260.0040.00418.58
8.0.250.0030.00317.01
8.0.240.0000.00716.89
8.0.230.0040.00416.98
8.0.220.0000.00816.88
8.0.210.0030.00316.91
8.0.200.0040.00416.96
8.0.190.0000.00716.96
8.0.180.0030.00516.80
8.0.170.0080.00016.94
8.0.160.0050.00216.81
8.0.150.0070.00016.82
8.0.140.0000.00716.79
8.0.130.0030.00313.28
8.0.120.0080.00016.77
8.0.110.0070.00016.92
8.0.100.0070.00016.93
8.0.90.0000.00816.89
8.0.80.0070.01116.88
8.0.70.0000.00716.88
8.0.60.0030.00516.86
8.0.50.0040.00416.72
8.0.30.0080.00917.09
8.0.20.0110.00817.40
8.0.10.0020.00517.04
8.0.00.0090.01016.74
7.4.330.0000.00415.55
7.4.320.0060.00016.54
7.4.300.0040.00416.43
7.4.290.0070.00016.58
7.4.280.0030.00516.45
7.4.270.0030.00316.45
7.4.260.0000.00716.41
7.4.250.0090.00016.52
7.4.240.0000.00716.46
7.4.230.0000.00716.45
7.4.220.0000.00716.54
7.4.210.0070.00716.47
7.4.200.0030.00316.63
7.4.160.0120.00616.38
7.4.150.0100.00717.40
7.4.140.0120.00817.86
7.4.130.0170.00016.35
7.4.120.0100.01016.52
7.4.110.0230.00016.25
7.4.100.0150.00416.35
7.4.90.0120.00616.44
7.4.80.0100.01019.39
7.4.70.0120.00616.50
7.4.60.0100.00716.42
7.4.50.0030.01016.68
7.4.40.0140.01016.65
7.4.00.0030.01414.87
7.3.330.0050.00013.07
7.3.320.0000.00613.13
7.3.310.0030.00316.16
7.3.300.0000.00716.31
7.3.290.0040.00316.23
7.3.280.0100.00616.24
7.3.270.0120.00617.40
7.3.260.0090.01316.43
7.3.250.0150.00616.33
7.3.240.0130.00816.33
7.3.230.0060.01316.41
7.3.210.0060.01216.48
7.3.200.0090.00916.31
7.3.190.0060.01116.50
7.3.180.0120.00516.41
7.3.170.0120.00416.41
7.3.160.0120.00616.34
7.3.120.0070.01014.88
7.3.110.0150.00014.54
7.3.100.0040.00514.96
7.3.90.0060.00614.45
7.3.80.0000.01115.02
7.3.70.0000.01114.80
7.3.60.0130.00014.85
7.3.50.0000.00814.84
7.3.40.0030.01314.91
7.3.30.0090.00914.88
7.3.20.0060.00616.55
7.3.10.0030.01016.42
7.3.00.0020.00916.26
7.2.330.0110.00616.43
7.2.320.0100.00716.63
7.2.310.0000.01616.33
7.2.300.0100.00716.52
7.2.290.0030.01316.56
7.2.250.0130.00315.18
7.2.240.0100.01014.76
7.2.230.0030.01414.79
7.2.220.0090.00314.94
7.2.210.0100.00314.90
7.2.200.0060.00314.76
7.2.190.0030.01014.97
7.2.180.0030.00614.90
7.2.170.0090.00014.83
7.2.130.0090.00316.26
7.2.120.0070.00716.56
7.2.110.0070.00716.47
7.2.100.0180.00016.82
7.2.90.0130.00016.21
7.2.80.0100.00316.72
7.2.70.0130.00316.82
7.2.60.0030.01016.73
7.2.50.0040.00716.77
7.2.40.0110.00716.74
7.2.30.0070.01116.59
7.2.20.0060.00316.83
7.2.10.0170.01017.11
7.2.00.0160.00617.36
7.1.330.0050.00815.81
7.1.320.0000.01515.66
7.1.310.0000.01615.65
7.1.300.0060.00915.58
7.1.290.0070.00715.55
7.1.280.0110.00715.82
7.1.270.0070.00315.42
7.1.260.0100.00315.57
7.1.250.0040.00715.50
7.1.200.0100.00315.60
7.1.130.0230.01016.91
7.1.120.0430.01016.82
7.1.110.0300.00615.83
7.1.100.0260.00716.02
7.1.90.0350.01015.93
7.1.80.0310.01015.96
7.1.70.0340.00915.30
7.1.60.0570.01333.22
7.1.50.0550.00732.64
7.1.40.0410.01632.48
7.1.30.0570.01632.46
7.1.20.0650.01332.55
7.1.10.0360.00714.70
7.1.00.0390.01114.75

preferences:
60.28 ms | 401 KiB | 5 Q