3v4l.org

run code in 300+ PHP versions simultaneously
<?php $oToday = new \DateTime(); $oYesterday = (clone $oToday)->modify('-1 day'); $oDayBefore = (clone $oYesterday)->modify('-1 day'); echo $oToday->format('Y-m-d 00:00:00'). PHP_EOL; echo $oYesterday->format('Y-m-d 00:00:00'). PHP_EOL; echo $oDayBefore->format('Y-m-d 00:00:00'). PHP_EOL;

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.10.0100.01017.96
8.3.140.0000.00917.07
8.3.130.0050.00316.91
8.3.120.0030.00718.64
8.3.110.0140.00720.94
8.3.100.0030.00624.06
8.3.90.0070.00726.77
8.3.80.0030.00616.63
8.3.70.0110.01116.63
8.3.60.0090.00618.29
8.3.50.0080.01122.05
8.3.40.0060.00918.93
8.3.30.0000.01418.79
8.3.20.0140.00020.09
8.3.10.0070.00021.90
8.3.00.0030.00520.97
8.2.260.0090.00616.77
8.2.250.0080.00017.07
8.2.240.0080.00019.20
8.2.230.0000.00922.58
8.2.220.0080.00037.54
8.2.210.0070.00026.77
8.2.200.0050.00518.66
8.2.190.0140.00717.00
8.2.180.0120.00317.00
8.2.170.0040.01122.96
8.2.160.0110.00419.33
8.2.150.0000.00724.18
8.2.140.0000.01124.66
8.2.130.0050.00326.16
8.2.120.0080.00021.25
8.2.110.0120.00620.39
8.2.100.0000.01118.03
8.2.90.0040.00417.97
8.2.80.0040.00417.97
8.2.70.0060.00317.75
8.2.60.0040.00418.18
8.2.50.0040.00718.07
8.2.40.0000.00820.19
8.2.30.0040.00418.12
8.2.20.0030.00617.93
8.2.10.0080.00018.19
8.2.00.0020.00518.19
8.1.300.0150.00320.21
8.1.290.0030.00618.88
8.1.280.0090.00625.92
8.1.270.0050.00323.80
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00622.72
8.1.230.0100.00322.88
8.1.220.0050.00317.89
8.1.210.0000.00819.01
8.1.200.0030.00717.60
8.1.190.0030.00617.38
8.1.180.0030.00618.10
8.1.170.0030.00618.89
8.1.160.0040.00418.88
8.1.150.0040.00418.96
8.1.140.0000.00819.75
8.1.130.0030.00317.71
8.1.120.0070.00017.70
8.1.110.0040.00417.62
8.1.100.0040.00417.71
8.1.90.0040.00417.64
8.1.80.0000.00717.70
8.1.70.0000.00717.59
8.1.60.0000.00717.66
8.1.50.0040.00417.62
8.1.40.0040.00417.70
8.1.30.0030.00517.88
8.1.20.0040.00417.72
8.1.10.0000.00817.70
8.1.00.0040.00417.81
8.0.300.0030.00520.04
8.0.290.0060.00316.86
8.0.280.0070.00018.65
8.0.270.0030.00617.39
8.0.260.0030.00320.06
8.0.250.0000.00717.25
8.0.240.0050.00217.22
8.0.230.0040.00417.26
8.0.220.0000.00717.16
8.0.210.0070.00017.23
8.0.200.0030.00517.11
8.0.190.0040.00417.21
8.0.180.0000.00717.09
8.0.170.0000.00717.22
8.0.160.0000.00717.12
8.0.150.0040.00417.02
8.0.140.0040.00617.09
8.0.130.0030.00313.42
8.0.120.0050.00317.16
8.0.110.0060.00317.12
8.0.100.0070.00016.96
8.0.90.0060.00317.07
8.0.80.0000.01517.14
8.0.70.0040.00417.16
8.0.60.0040.00417.16
8.0.50.0050.00216.99
8.0.30.0080.01017.19
8.0.20.0140.00517.47
8.0.10.0080.00017.08
8.0.00.0100.01217.05
7.4.330.0000.00515.08
7.4.320.0000.00616.76
7.4.300.0030.00316.77
7.4.290.0030.00316.76
7.4.280.0000.00816.77
7.4.270.0050.00216.67
7.4.260.0080.00016.59
7.4.250.0080.00016.63
7.4.240.0030.00316.75
7.4.230.0000.00716.76
7.4.220.0120.00916.80
7.4.210.0040.01016.66
7.4.200.0040.00416.85
7.4.160.0040.01216.69
7.4.150.0060.01217.40
7.4.140.0100.00817.86
7.4.130.0110.00916.74
7.4.120.0060.01116.66
7.4.110.0070.01016.53
7.4.100.0070.01116.66
7.4.90.0090.00916.88
7.4.80.0120.00919.39
7.4.70.0040.01216.58
7.4.60.0070.01016.85
7.4.50.0090.00616.63
7.4.40.0090.00616.95
7.4.30.0070.01316.77
7.4.10.0100.01316.47
7.4.00.0060.01315.33
7.3.330.0000.00513.20
7.3.320.0000.00613.30
7.3.310.0040.00316.30
7.3.300.0070.00016.46
7.3.290.0070.00016.48
7.3.280.0080.01216.48
7.3.270.0090.00817.40
7.3.260.0150.00916.50
7.3.250.0100.00916.66
7.3.240.0150.00716.55
7.3.230.0030.01416.60
7.3.210.0060.01216.79
7.3.200.0040.01216.52
7.3.190.0090.01216.45
7.3.180.0060.00916.66
7.3.170.0140.00516.63
7.3.160.0060.01316.73
7.3.130.0100.01016.59
7.3.120.0030.01315.53
7.3.110.0040.01315.42
7.3.100.0070.01015.66
7.3.90.0080.00715.54
7.3.80.0050.00915.54
7.3.70.0050.00715.52
7.3.60.0070.00615.33
7.3.50.0070.00515.51
7.3.40.0050.00815.46
7.3.30.0060.00415.52
7.3.20.0070.00717.35
7.3.10.0070.00517.13
7.3.00.0060.00717.19
7.2.330.0090.00716.87
7.2.320.0130.01016.80
7.2.310.0030.01416.69
7.2.300.0160.00716.67
7.2.290.0130.00316.51
7.2.260.0100.01316.96
7.2.250.0090.00915.73
7.2.240.0080.01015.81
7.2.230.0090.00515.67
7.2.220.0050.00915.79
7.2.210.0090.00515.57
7.2.200.0060.00915.64
7.2.190.0040.01115.64
7.2.180.0060.00815.81
7.2.170.0070.00715.67
7.2.160.0070.00516.07
7.2.150.0020.01017.83
7.2.140.0050.00917.88
7.2.130.0080.00717.57
7.2.120.0050.00617.53
7.2.110.0090.00317.50
7.2.100.0060.00617.37
7.2.90.0070.00517.52
7.2.80.0020.00917.67
7.2.70.0080.00517.48
7.2.60.0080.00517.48
7.2.50.0060.00817.53
7.2.40.0050.00717.59
7.2.30.0060.00617.56
7.2.20.0100.00617.72
7.2.10.0030.00917.55
7.2.00.0070.01017.91
7.1.330.0090.00716.61
7.1.320.0060.00716.52
7.1.310.0060.00716.40
7.1.300.0030.00816.50
7.1.290.0050.00716.45
7.1.280.0030.00916.45
7.1.270.0060.00616.36
7.1.260.0040.00716.33
7.1.250.0060.00716.37
7.1.240.0080.00416.49
7.1.230.0020.01016.42
7.1.220.0030.00616.39
7.1.210.0070.00816.46
7.1.200.0040.00716.22
7.1.190.0040.01016.35
7.1.180.0060.00716.29
7.1.170.0030.00816.37
7.1.160.0060.00816.32
7.1.150.0040.00816.49
7.1.140.0050.00616.45
7.1.130.0060.01016.47
7.1.120.0040.00816.29
7.1.110.0080.00716.44
7.1.100.0040.01016.79
7.1.90.0070.00616.37
7.1.80.0040.00816.43
7.1.70.0050.00616.48
7.1.60.0100.00617.21
7.1.50.0060.00716.63
7.1.40.0070.00516.47
7.1.30.0070.00916.34
7.1.20.0050.01016.29
7.1.10.0080.00616.46
7.1.00.0050.02417.94
7.0.330.0050.00715.96
7.0.320.0050.00716.07
7.0.310.0070.00416.00
7.0.300.0070.00515.95
7.0.290.0050.00815.97
7.0.280.0020.01016.00
7.0.270.0040.00615.92
7.0.260.0050.00715.96
7.0.250.0040.00716.00
7.0.240.0050.00615.93
7.0.230.0010.01016.15
7.0.220.0040.00716.16
7.0.210.0080.00615.96
7.0.200.0520.00515.71
7.0.190.0050.00716.04
7.0.180.0040.00915.97
7.0.170.0060.00816.09
7.0.160.0040.00716.08
7.0.150.0040.00716.06
7.0.140.0070.00516.06
7.0.130.0040.00816.05
7.0.120.0030.01116.03
7.0.110.0030.00816.09
7.0.100.0040.02417.02
7.0.90.0070.02717.12
7.0.80.0060.02317.01
7.0.70.0070.02417.10
7.0.60.0060.01716.97
7.0.50.0070.02617.25
7.0.40.0090.02415.50
7.0.30.0060.01515.60
7.0.20.0040.02515.49
7.0.10.0060.02415.58
7.0.00.0100.01715.61
5.6.400.0050.01014.82
5.6.390.0050.00714.97
5.6.380.0030.00914.67
5.6.370.0050.00814.44
5.6.360.0060.00814.60
5.6.350.0060.00814.80
5.6.340.0060.00714.79
5.6.330.0070.00814.43
5.6.320.0070.00514.52
5.6.310.0060.01014.72
5.6.300.0030.00914.66
5.6.290.0070.00714.64
5.6.280.0030.02716.21
5.6.270.0050.00814.70
5.6.260.0070.00714.66
5.6.250.0090.02416.14
5.6.240.0060.01716.12
5.6.230.0090.02316.11
5.6.220.0080.02416.07
5.6.210.0070.02516.08
5.6.200.0070.02416.20
5.6.190.0080.02316.18
5.6.180.0080.02716.20
5.6.170.0050.01616.23
5.6.160.0070.02416.10
5.6.150.0060.02116.27
5.6.140.0050.02616.19
5.6.130.0090.02316.17
5.6.120.0070.02516.25
5.6.110.0050.02516.21
5.6.100.0070.02816.15
5.6.90.0060.02316.06
5.6.80.0060.02316.03
5.6.70.0060.02116.01
5.6.60.0070.02316.01
5.6.50.0090.02115.91
5.6.40.0030.02715.91
5.6.30.0080.01815.98
5.6.20.0050.02815.97
5.6.10.0080.02315.93
5.6.00.0050.02616.02
5.5.380.0030.04515.62
5.5.370.0050.04415.61
5.5.360.0050.03115.57
5.5.350.0050.04415.59
5.5.340.0080.04116.00
5.5.330.0100.03615.92
5.5.320.0070.04315.84
5.5.310.0080.03515.86
5.5.300.0110.04115.94
5.5.290.0090.03215.77
5.5.280.0050.03015.98
5.5.270.0090.03415.82
5.5.260.0140.03815.81
5.5.250.0050.04415.54
5.5.240.0030.04315.38
5.5.230.0080.03815.58
5.5.220.0050.02715.44
5.5.210.0070.02715.32
5.5.200.0060.04315.38
5.5.190.0050.03915.38
5.5.180.0080.03315.44
5.5.170.0060.00310.66
5.5.160.0070.03815.48
5.5.150.0080.04015.57
5.5.140.0050.04315.59
5.5.130.0080.04515.45
5.5.120.0000.04615.36
5.5.110.0160.03315.44
5.5.100.0050.04215.51
5.5.90.0070.04415.38
5.5.80.0030.04215.41
5.5.70.0100.03715.36
5.5.60.0070.03415.41
5.5.50.0080.03515.44
5.5.40.0060.04315.54
5.5.30.0100.03515.31
5.5.20.0070.04015.50
5.5.10.0080.04015.58
5.5.00.0070.03815.46

preferences:
77.55 ms | 403 KiB | 5 Q