3v4l.org

run code in 300+ PHP versions simultaneously
<?php $currentDateStr = "20/03/2014"; // $bsibooking->checkInDate; $currentDateArray = explode("/", $currentDateStr); $currentDate = new DateTime(); $currentDate->setTimezone(new DateTimeZone('Europe/London')); $currentDate = $currentDate->setDate(intval($currentDateArray[2]), intval($currentDateArray[1]), intval($currentDateArray[0])); print_r($currentDate); ?>

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.40.0090.00618.68
8.3.30.0040.01119.09
8.3.20.0000.00720.33
8.3.10.0040.00422.14
8.3.00.0040.00422.37
8.2.170.0060.01122.96
8.2.160.0040.01119.29
8.2.150.0040.00424.18
8.2.140.0060.00924.66
8.2.130.0060.01326.16
8.2.120.0090.00019.73
8.2.110.0060.00322.06
8.2.100.0070.00419.76
8.2.90.0000.00819.20
8.2.80.0000.00817.97
8.2.70.0000.00917.88
8.2.60.0000.00818.16
8.2.50.0040.00418.07
8.2.40.0110.00418.11
8.2.30.0000.00718.13
8.2.20.0040.00417.98
8.2.10.0050.00317.85
8.2.00.0040.00417.87
8.1.270.0030.00522.13
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.96
8.1.230.0070.00319.00
8.1.220.0000.00817.76
8.1.210.0050.00318.77
8.1.200.0000.00917.47
8.1.190.0090.00017.55
8.1.180.0080.00018.59
8.1.170.0060.00318.64
8.1.160.0000.00722.14
8.1.150.0040.00418.68
8.1.140.0040.00417.57
8.1.130.0030.00317.76
8.1.120.0020.00517.47
8.1.110.0070.00017.51
8.1.100.0070.00017.55
8.1.90.0000.00817.68
8.1.80.0040.00417.55
8.1.70.0000.00717.55
8.1.60.0030.00517.73
8.1.50.0080.00017.66
8.1.40.0040.00417.57
8.1.30.0060.00317.71
8.1.20.0080.00017.80
8.1.10.0020.00517.65
8.1.00.0040.00417.55
8.0.300.0000.00718.77
8.0.290.0040.00417.29
8.0.280.0040.00418.52
8.0.270.0030.00317.33
8.0.260.0040.00417.03
8.0.250.0000.00717.13
8.0.240.0050.00217.05
8.0.230.0030.00517.13
8.0.220.0070.00017.06
8.0.210.0050.00317.13
8.0.200.0040.00417.11
8.0.190.0080.00017.09
8.0.180.0070.00017.03
8.0.170.0000.00917.02
8.0.160.0040.00416.98
8.0.150.0000.00817.11
8.0.140.0040.00417.03
8.0.130.0060.00013.45
8.0.120.0030.00516.94
8.0.110.0040.00417.09
8.0.100.0070.00017.04
8.0.90.0040.00417.15
8.0.80.0030.01317.09
8.0.70.0040.00416.97
8.0.60.0040.00416.96
8.0.50.0050.00216.97
8.0.30.0130.00517.21
8.0.20.0110.00817.47
8.0.10.0000.00817.28
8.0.00.0140.00516.91
7.4.330.0000.00715.00
7.4.320.0070.00016.80
7.4.300.0030.00316.79
7.4.290.0060.00316.82
7.4.280.0020.00516.73
7.4.270.0030.00316.79
7.4.260.0100.00016.71
7.4.250.0040.00416.75
7.4.240.0040.00416.73
7.4.230.0030.00316.89
7.4.220.0140.00316.82
7.4.210.0040.01016.77
7.4.200.0070.00016.59
7.4.190.0030.00316.67
7.4.160.0060.01316.77
7.4.150.0070.01017.40
7.4.140.0110.00717.86
7.4.130.0120.01016.73
7.4.120.0100.00816.69
7.4.110.0070.01116.75
7.4.100.0060.01316.73
7.4.90.0070.01016.56
7.4.80.0150.00319.39
7.4.70.0060.01216.66
7.4.60.0070.01116.61
7.4.50.0050.00316.58
7.4.40.0060.00322.77
7.4.30.0130.01016.76
7.4.00.0060.00714.80
7.3.330.0020.00213.29
7.3.320.0030.00313.24
7.3.310.0030.00316.52
7.3.300.0030.00316.34
7.3.290.0090.00916.34
7.3.280.0070.01116.39
7.3.270.0120.00617.40
7.3.260.0130.00316.58
7.3.250.0120.00416.65
7.3.240.0100.00716.53
7.3.230.0090.00916.65
7.3.210.0110.00716.52
7.3.200.0060.01319.39
7.3.190.0070.01016.63
7.3.180.0120.00316.58
7.3.170.0080.00816.68
7.3.160.0120.00316.61
7.3.120.0050.01014.96
7.3.110.0030.01315.00
7.3.100.0160.00314.92
7.3.90.0120.00314.87
7.3.80.0090.00615.07
7.3.70.0100.00615.18
7.3.60.0080.00415.17
7.3.50.0040.01114.87
7.3.40.0040.01115.10
7.3.30.0060.00614.99
7.3.20.0000.01216.70
7.3.10.0010.00816.87
7.3.00.0050.00816.83
7.2.330.0070.01016.94
7.2.320.0110.00616.65
7.2.310.0070.01016.68
7.2.300.0100.00716.77
7.2.290.0130.00616.96
7.2.250.0070.01015.45
7.2.240.0090.00915.45
7.2.230.0040.01515.04
7.2.220.0070.01115.48
7.2.210.0140.00415.44
7.2.200.0070.00714.86
7.2.190.0040.00815.25
7.2.180.0070.01015.16
7.2.170.0000.01715.06
7.2.160.0070.00715.07
7.2.150.0060.00917.14
7.2.140.0060.00617.13
7.2.130.0050.01016.93
7.2.120.0020.01017.16
7.2.110.0030.01017.12
7.2.100.0120.00517.07
7.2.90.0040.01117.00
7.2.80.0080.00517.13
7.2.70.0060.00816.99
7.2.60.0040.00916.85
7.2.50.0030.01017.08
7.2.40.0060.00717.17
7.2.30.0100.00517.29
7.2.20.0040.00816.92
7.2.10.0080.00316.96
7.2.00.0060.00617.89
7.1.330.0030.01015.67
7.1.320.0030.01216.10
7.1.310.0120.00616.14
7.1.300.0100.00016.02
7.1.290.0100.00016.08
7.1.280.0090.00616.00
7.1.270.0120.00315.98
7.1.260.0080.00415.95
7.1.250.0050.00716.04
7.1.240.0040.01116.00
7.1.230.0000.01416.12
7.1.220.0070.00715.92
7.1.210.0070.00716.18
7.1.200.0060.00715.88
7.1.190.0060.00616.10
7.1.180.0060.00616.07
7.1.170.0120.00316.20
7.1.160.0030.00615.73
7.1.150.0060.00916.10
7.1.140.0060.00615.91
7.1.130.0030.01215.67
7.1.120.0000.01016.06
7.1.110.0060.00915.70
7.1.100.0020.00817.27
7.1.90.0070.00715.96
7.1.80.0070.00715.97
7.1.70.0040.00616.76
7.1.60.0060.01118.02
7.1.50.0090.00916.57
7.1.40.0070.00716.09
7.1.30.0070.00415.95
7.1.20.0100.00716.06
7.1.10.0000.01515.72
7.1.00.0070.04019.25
7.0.330.0100.00315.69
7.0.320.0090.00915.66
7.0.310.0030.01015.58
7.0.300.0070.00315.69
7.0.290.0000.01115.71
7.0.280.0040.01115.60
7.0.270.0000.01115.51
7.0.260.0030.01015.72
7.0.250.0000.00915.79
7.0.240.0000.00815.46
7.0.230.0040.00815.59
7.0.220.0000.01215.72
7.0.210.0080.00815.62
7.0.200.0050.00516.21
7.0.190.0060.00615.71
7.0.180.0070.00315.47
7.0.170.0030.00615.73
7.0.160.0030.01015.85
7.0.150.0040.01215.48
7.0.140.0050.03818.92
7.0.130.0040.01115.61
7.0.120.0030.01315.62
7.0.110.0040.00715.80
7.0.100.0080.03817.79
7.0.90.0040.02517.92
7.0.80.0030.03517.78
7.0.70.0170.03417.60
7.0.60.0130.04317.66
7.0.50.0150.04518.02
7.0.40.0100.04516.74
7.0.30.0060.04516.96
7.0.20.0090.03716.74
7.0.10.0100.03817.01
7.0.00.0040.03216.85
5.6.400.0000.01114.21
5.6.390.0120.00314.79
5.6.380.0130.00314.62
5.6.370.0090.00614.82
5.6.360.0070.00714.87
5.6.350.0040.00714.57
5.6.340.0090.00614.28
5.6.330.0080.00414.94
5.6.320.0060.00914.92
5.6.310.0060.00314.51
5.6.300.0120.00614.51
5.6.290.0050.00514.33
5.6.280.0020.05317.76
5.6.270.0130.00714.49
5.6.260.0060.00614.32
5.6.250.0070.04217.63
5.6.240.0100.03517.49
5.6.230.0050.03817.47
5.6.220.0120.04917.49
5.6.210.0070.04817.55
5.6.200.0120.03817.89
5.6.190.0050.02717.98
5.6.180.0070.04317.82
5.6.170.0120.04417.62
5.6.160.0110.02817.69
5.6.150.0030.04817.71
5.6.140.0040.02917.78
5.6.130.0080.04517.88
5.6.120.0130.04017.86
5.6.110.0030.04817.73
5.6.100.0130.04017.70
5.6.90.0080.04517.80
5.6.80.0050.02517.54
5.6.70.0100.04017.47
5.6.60.0090.04417.38
5.6.50.0110.03917.31
5.6.40.0090.04017.38
5.6.30.0060.02317.36
5.6.20.0020.04717.47
5.6.10.0030.03117.49
5.6.00.0100.03717.32
5.5.380.0020.03317.47
5.5.370.0080.02317.44
5.5.360.0080.04317.35
5.5.350.0080.04017.55
5.5.340.0000.03617.64
5.5.330.0050.03317.64
5.5.320.0080.04217.76
5.5.310.0050.02817.76
5.5.300.0050.03817.71
5.5.290.0110.04317.64
5.5.280.0120.03917.78
5.5.270.0070.04517.65
5.5.260.0020.04417.64
5.5.250.0100.04017.55
5.5.240.0100.04017.48
5.5.230.0090.03617.24
5.5.220.0060.02517.40
5.5.210.0100.03617.25
5.5.200.0080.04017.36
5.5.190.0030.05017.11
5.5.180.0070.02717.25
5.5.170.0120.00614.42
5.5.160.0030.04017.17
5.5.150.0050.04317.15
5.5.140.0040.02317.27
5.5.130.0050.02517.37
5.5.120.0020.04717.31
5.5.110.0060.02117.10
5.5.100.0020.04617.17
5.5.90.0030.03117.29
5.5.80.0130.03517.24
5.5.70.0050.02317.09
5.5.60.0050.04017.35
5.5.50.0060.02117.18
5.5.40.0050.02317.15
5.5.30.0050.04217.33
5.5.20.0030.04217.18
5.5.10.0070.03717.08
5.5.00.0090.03717.03
5.4.450.0060.04515.64
5.4.440.0030.04215.50
5.4.430.0120.03715.68
5.4.420.0020.04015.72
5.4.410.0080.03815.45
5.4.400.0030.02615.39
5.4.390.0100.03715.42
5.4.380.0050.04215.56
5.4.370.0070.02515.52
5.4.360.0120.03715.47
5.4.350.0060.03715.47
5.4.340.0080.03815.46
5.4.330.0000.01011.89
5.4.320.0080.03515.44
5.4.310.0030.04515.47
5.4.300.0080.01615.35
5.4.290.0050.03815.47
5.4.280.0120.03315.51
5.4.270.0070.02915.49
5.4.260.0070.04015.52
5.4.250.0080.01815.33
5.4.240.0070.02515.45
5.4.230.0050.03715.50
5.4.220.0100.03915.36
5.4.210.0070.03515.56
5.4.200.0090.02715.42
5.4.190.0090.03615.47
5.4.180.0000.02915.50
5.4.170.0060.02715.52
5.4.160.0060.04115.46
5.4.150.0030.03715.35
5.4.140.0080.03714.11
5.4.130.0070.03814.09
5.4.120.0050.02714.11
5.4.110.0080.03614.08
5.4.100.0030.02614.18
5.4.90.0050.04014.15
5.4.80.0050.03314.17
5.4.70.0050.02114.12
5.4.60.0020.02414.14
5.4.50.0070.03714.09
5.4.40.0050.04114.11
5.4.30.0040.04714.16
5.4.20.0070.02514.06
5.4.10.0070.03314.18
5.4.00.0050.03313.80
5.3.290.0050.04313.26
5.3.280.0030.02413.16
5.3.270.0030.04213.18
5.3.260.0030.04313.18
5.3.250.0080.02313.25
5.3.240.0050.02513.23
5.3.230.0050.02813.20
5.3.220.0050.02813.15
5.3.210.0100.03313.15
5.3.200.0050.03213.22
5.3.190.0100.02313.20
5.3.180.0060.02613.14
5.3.170.0110.03313.21
5.3.160.0070.04113.18
5.3.150.0090.02713.14
5.3.140.0030.04313.22
5.3.130.0100.03513.13
5.3.120.0050.04113.19
5.3.110.0100.03613.14
5.3.100.0100.04012.89
5.3.90.0060.02312.94
5.3.80.0000.02712.95
5.3.70.0020.02812.96
5.3.60.0050.04012.92
5.3.50.0080.01712.79
5.3.40.0050.02812.92
5.3.30.0000.02512.87
5.3.20.0080.02012.72
5.3.10.0060.02512.65
5.3.00.0070.03512.64
5.2.170.0000.04011.53
5.2.160.0030.06311.53
5.2.150.0100.05711.53
5.2.140.0130.05711.53
5.2.130.0130.05711.53
5.2.120.0030.04711.53
5.2.110.0030.02711.53
5.2.100.0070.03011.53
5.2.90.0000.03711.53
5.2.80.0030.06311.53
5.2.70.0070.04311.53
5.2.60.0130.04711.53
5.2.50.0070.06011.53
5.2.40.0070.04011.53
5.2.30.0100.02711.53
5.2.20.0200.05011.53
5.2.10.0030.04711.53
5.2.00.0130.04711.53
5.1.60.0030.05711.53
5.1.50.0000.04011.53
5.1.40.0000.03311.53
5.1.30.0070.04011.53
5.1.20.0100.05011.53
5.1.10.0100.04311.53
5.1.00.0130.02011.53
5.0.50.0070.03711.53
5.0.40.0030.02711.53
5.0.30.0030.04711.53
5.0.20.0070.04011.53
5.0.10.0070.03311.53
5.0.00.0030.06011.53
4.4.90.0030.03311.53
4.4.80.0000.02011.53
4.4.70.0030.02011.53
4.4.60.0000.02711.53
4.4.50.0000.03311.53
4.4.40.0000.04011.53
4.4.30.0030.02311.53
4.4.20.0000.03711.53
4.4.10.0070.02311.53
4.4.00.0030.03011.53
4.3.110.0000.03311.53
4.3.100.0000.03711.53
4.3.90.0000.03711.53
4.3.80.0030.03711.53
4.3.70.0070.02011.53
4.3.60.0030.02311.53
4.3.50.0000.03011.53
4.3.40.0000.05011.53
4.3.30.0000.03711.53
4.3.20.0000.02711.53
4.3.10.0000.03711.53
4.3.00.0000.03711.53

preferences:
47.28 ms | 400 KiB | 5 Q