3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rsresults = new stdclass; $rsresults->fields['newdate'] = '2018-01-22'; $currentdate = $rsresults->fields['newdate']; $dateholder = $currentdate; var_dump($dateholder);

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.0130.00517.37
8.5.20.0130.00719.63
8.5.10.0170.00616.77
8.5.00.0140.01320.02
8.4.180.0120.00825.64
8.4.170.0120.00923.80
8.4.160.0140.00923.75
8.4.150.0060.00616.83
8.4.140.0120.01017.42
8.4.130.0100.01117.91
8.4.120.0120.00720.43
8.4.110.0130.00618.89
8.4.100.0100.01117.73
8.4.90.0110.00920.24
8.4.80.0090.00718.71
8.4.70.0080.01018.85
8.4.60.0070.01218.71
8.4.50.0120.00920.23
8.4.40.0060.00317.78
8.4.30.0040.00417.51
8.4.20.0070.01019.34
8.4.10.0050.00517.79
8.3.300.0130.00622.66
8.3.290.0110.00918.18
8.3.280.0140.00718.30
8.3.270.0100.00916.57
8.3.260.0090.01116.68
8.3.250.0100.00919.16
8.3.240.0070.00316.44
8.3.230.0110.00816.55
8.3.220.0120.00719.16
8.3.210.0140.00516.61
8.3.200.0040.00516.39
8.3.190.0100.00517.24
8.3.180.0120.00718.93
8.3.170.0110.00716.67
8.3.160.0110.00717.17
8.3.150.0110.00718.98
8.3.140.0000.00820.66
8.3.130.0040.00716.43
8.3.120.0030.00619.06
8.3.110.0090.00020.94
8.3.100.0030.00624.06
8.3.90.0030.00526.77
8.3.80.0070.00417.97
8.3.70.0120.00316.63
8.3.60.0180.00318.17
8.3.50.0080.00717.48
8.3.40.0040.01118.80
8.3.30.0140.00018.80
8.3.20.0070.00021.78
8.3.10.0040.00423.48
8.3.00.0070.00019.02
8.2.300.0120.00817.98
8.2.290.0090.01018.77
8.2.280.0100.00820.23
8.2.270.0110.00418.94
8.2.260.0110.00716.31
8.2.250.0120.00618.26
8.2.240.0120.00918.93
8.2.230.0060.00322.58
8.2.220.0060.00337.54
8.2.210.0160.00326.77
8.2.200.0060.00318.07
8.2.190.0030.01016.63
8.2.180.0120.00316.63
8.2.170.0070.00722.96
8.2.160.0030.01022.21
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00419.30
8.2.120.0000.00826.35
8.2.110.0070.00421.11
8.2.100.0060.00617.78
8.2.90.0000.00817.84
8.2.80.0070.00019.06
8.2.70.0080.00017.77
8.2.60.0080.00017.63
8.2.50.0070.00018.10
8.2.40.0040.00420.48
8.2.30.0040.00419.34
8.2.20.0000.00717.97
8.2.10.0050.00217.61
8.2.00.0040.00417.93
8.1.340.0110.00918.33
8.1.330.0110.00816.13
8.1.320.0120.00715.84
8.1.310.0110.00718.31
8.1.300.0060.01219.70
8.1.290.0000.01130.84
8.1.280.0100.00725.92
8.1.270.0080.00023.84
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0030.00820.57
8.1.230.0080.00320.91
8.1.220.0050.00317.74
8.1.210.0080.00018.79
8.1.200.0000.00817.35
8.1.190.0000.00817.13
8.1.180.0040.00418.10
8.1.170.0050.00218.98
8.1.160.0000.00818.73
8.1.150.0000.00718.99
8.1.140.0030.00317.67
8.1.130.0060.00020.11
8.1.120.0040.00417.37
8.1.110.0030.00317.29
8.1.100.0070.00017.37
8.1.90.0000.00717.43
8.1.80.0030.00717.29
8.1.70.0000.00717.27
8.1.60.0050.00517.45
8.1.50.0000.00817.48
8.1.40.0050.00217.33
8.1.30.0060.00317.56
8.1.20.0070.00017.52
8.1.10.0000.00717.57
8.1.00.0090.00017.45
8.0.300.0070.00019.98
8.0.290.0040.00416.58
8.0.280.0030.00318.33
8.0.270.0030.00317.10
8.0.260.0000.00716.78
8.0.250.0030.00316.77
8.0.240.0000.00716.79
8.0.230.0000.00716.90
8.0.220.0030.00616.82
8.0.210.0030.00316.71
8.0.200.0000.00616.94
8.0.190.0040.00416.77
8.0.180.0070.00016.86
8.0.170.0000.00816.83
8.0.160.0000.00716.83
8.0.150.0000.00716.65
8.0.140.0120.00016.73
8.0.130.0050.00013.23
8.0.120.0070.00016.75
8.0.110.0000.00716.87
8.0.100.0070.00016.63
8.0.90.0080.00016.64
8.0.80.0140.00316.82
8.0.70.0000.00716.91
8.0.60.0040.00416.72
8.0.50.0000.00716.67
8.0.30.0120.00716.96
8.0.20.0090.00917.40
8.0.10.0040.00417.05
8.0.00.0060.01416.60
7.4.330.0000.00615.55
7.4.320.0000.00716.49
7.4.300.0040.00416.57
7.4.290.0030.00316.40
7.4.280.0000.00716.31
7.4.270.0000.00616.55
7.4.260.0000.00716.52
7.4.250.0040.00416.39
7.4.240.0070.00016.32
7.4.230.0070.00016.32
7.4.220.0040.00416.23
7.4.210.0080.01016.46
7.4.200.0050.00316.27
7.4.160.0080.01016.33
7.4.140.0130.00517.86
7.4.130.0090.00916.51
7.4.120.0130.00916.42
7.4.110.0110.00716.47
7.4.100.0080.00816.50
7.4.90.0130.01016.33
7.4.80.0120.01219.39
7.4.70.0120.00916.32
7.4.60.0030.01316.48
7.4.50.0070.01016.51
7.4.40.0170.00716.49
7.4.00.0060.00614.95
7.3.330.0000.00713.09
7.3.320.0000.00612.99
7.3.310.0070.00016.25
7.3.300.0040.00416.25
7.3.290.0030.00316.32
7.3.280.0090.00616.26
7.3.260.0100.00916.36
7.3.240.0120.00816.40
7.3.230.0030.01516.40
7.3.210.0060.00916.31
7.3.200.0100.00716.21
7.3.190.0060.01016.19
7.3.180.0090.01016.56
7.3.170.0070.01116.47
7.3.160.0100.01316.25
7.2.330.0040.01416.65
7.2.320.0030.01916.74
7.2.310.0070.01016.59
7.2.300.0030.01416.43
7.2.290.0030.01316.68
7.2.60.0060.00616.96
7.2.30.0150.00817.66
7.2.20.0370.01017.46
7.2.10.0130.01317.64
7.2.00.0110.01417.91
7.1.200.0100.00315.69
7.1.150.0150.01516.30
7.1.140.0160.01216.75
7.1.130.0160.01316.55
7.1.120.0530.01116.50
7.1.110.0150.01115.86
7.1.100.0140.01415.81
7.1.90.0150.01116.35
7.1.80.0160.01015.73
7.1.70.0110.01115.19
7.1.60.0330.01633.30
7.1.50.0300.01532.98
7.1.40.0460.01332.54
7.1.30.0400.01232.62
7.1.20.0360.01332.64
7.1.10.0210.01514.67
7.1.00.0140.01014.87

preferences:
117.24 ms | 1389 KiB | 5 Q