3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = array('', "", '2017-01-01'); foreach($t as $i) { var_dump((int)$i); }

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.0120.00616.38
8.3.50.0090.00616.50
8.3.40.0120.00318.57
8.3.30.0040.01118.54
8.3.20.0000.00820.20
8.3.10.0070.00023.59
8.3.00.0070.00021.92
8.2.180.0180.00318.54
8.2.170.0140.00022.96
8.2.160.0100.00319.04
8.2.150.0050.00224.18
8.2.140.0000.00824.66
8.2.130.0030.01221.05
8.2.120.0050.00326.35
8.2.110.0180.00019.38
8.2.100.0080.00318.09
8.2.90.0000.00819.09
8.2.80.0000.00817.97
8.2.70.0080.00017.63
8.2.60.0080.00017.90
8.2.50.0040.00418.10
8.2.40.0040.00420.64
8.2.30.0040.00419.33
8.2.20.0030.00517.96
8.2.10.0070.00018.20
8.2.00.0000.00717.96
8.1.280.0070.01025.92
8.1.270.0070.00722.06
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0060.00323.80
8.1.230.0070.00717.45
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.01017.23
8.1.190.0060.00317.23
8.1.180.0030.00618.10
8.1.170.0000.00818.88
8.1.160.0000.00719.01
8.1.150.0080.00018.80
8.1.140.0070.00019.44
8.1.130.0000.00718.79
8.1.120.0040.00417.47
8.1.110.0090.00017.40
8.1.100.0000.00717.38
8.1.90.0040.00417.44
8.1.80.0070.00017.32
8.1.70.0070.00017.51
8.1.60.0050.00317.56
8.1.50.0000.00817.43
8.1.40.0090.00017.50
8.1.30.0000.00817.66
8.1.20.0070.00017.63
8.1.10.0060.00317.47
8.1.00.0000.00717.41
8.0.300.0000.00718.77
8.0.290.0000.00716.88
8.0.280.0030.00318.33
8.0.270.0060.00017.22
8.0.260.0030.00316.81
8.0.250.0000.00716.93
8.0.240.0040.00416.92
8.0.230.0030.00316.89
8.0.220.0000.00816.78
8.0.210.0000.00616.85
8.0.200.0030.00316.88
8.0.190.0040.00416.96
8.0.180.0080.00316.82
8.0.170.0050.00216.87
8.0.160.0000.00816.88
8.0.150.0070.00016.83
8.0.140.0000.00716.78
8.0.130.0000.00613.31
8.0.120.0040.00416.93
8.0.110.0070.00016.76
8.0.100.0050.00316.79
8.0.90.0000.00716.89
8.0.80.0110.01016.77
8.0.70.0040.00416.86
8.0.60.0000.00816.75
8.0.50.0000.00716.78
8.0.30.0100.00717.07
8.0.20.0120.00717.40
8.0.10.0000.00817.04
8.0.00.0100.00716.65
7.4.330.0060.00015.55
7.4.320.0030.00316.61
7.4.300.0000.00616.41
7.4.290.0000.00716.59
7.4.280.0030.00516.49
7.4.270.0030.00316.43
7.4.260.0070.00016.61
7.4.250.0000.00716.54
7.4.240.0040.00416.62
7.4.230.0030.00316.60
7.4.220.0080.01416.52
7.4.210.0070.00716.45
7.4.200.0030.00316.30
7.4.160.0110.00716.45
7.4.150.0120.00617.40
7.4.140.0110.00817.86
7.4.130.0070.01016.52
7.4.120.0060.01216.48
7.3.330.0030.00313.10
7.3.320.0030.00313.25
7.3.310.0000.00716.36
7.3.300.0050.00316.31
7.3.290.0030.01116.26
7.3.280.0090.00816.28
7.3.270.0150.00617.40
7.3.260.0200.00216.42
7.3.250.0110.01016.49
7.3.240.0070.01016.38

preferences:
61.44 ms | 401 KiB | 5 Q