3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = time(); date_default_timezone_set('UTC'); var_dump(date('Y-m-d h:m:sa', $now)); date_default_timezone_set("Africa/Cairo"); var_dump(date('Y-m-d h:m:sa', $now));

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)
7.4.00.0110.00414.71
7.3.120.0150.00014.70
7.3.110.0090.00914.52
7.3.100.0150.00014.88
7.3.90.0070.01014.81
7.3.80.0030.01014.95
7.3.70.0090.00014.59
7.3.60.0030.00614.38
7.3.50.0040.00814.38
7.3.40.0030.00614.58
7.3.30.0100.00314.52
7.3.20.0040.01116.68
7.3.10.0000.01416.63
7.3.00.0000.01216.68
7.2.250.0070.01114.76
7.2.240.0100.01014.98
7.2.230.0030.01315.14
7.2.220.0100.00014.95
7.2.210.0090.00015.02
7.2.200.0000.01415.10
7.2.190.0000.01214.97
7.2.180.0060.01015.00
7.2.170.0110.00014.88
7.2.60.0110.00416.63
7.2.00.0070.00719.37
7.1.330.0040.00715.57
7.1.320.0070.00315.86
7.1.310.0040.01115.90
7.1.300.0060.00615.38
7.1.290.0100.00315.93
7.1.280.0030.01015.88
7.1.270.0080.00815.84
7.1.260.0030.00915.76
7.1.200.0030.00615.83
7.1.100.0000.01117.97
7.1.70.0090.00017.07
7.1.60.0070.00717.11
7.1.50.0100.01616.96
7.1.00.0100.07022.40
7.0.200.0620.00614.70
7.0.100.6630.06020.05
7.0.90.5470.06319.89
7.0.80.1000.05320.00
7.0.70.0070.07719.95
7.0.60.0030.07319.98
7.0.50.0030.06020.39
7.0.40.0270.06320.34
7.0.30.0230.04720.32
7.0.20.0170.07020.39
7.0.10.0130.06020.31
7.0.00.3100.06020.33
5.6.250.0130.05320.64
5.6.240.0130.05320.59
5.6.230.0070.07720.70
5.6.220.0170.05320.57
5.6.210.0030.06720.55
5.6.200.0170.07021.10
5.6.190.0170.06321.09
5.6.180.0070.09021.07
5.6.170.0130.06021.19
5.6.160.0170.06021.01
5.6.150.0130.06321.05
5.6.140.0070.06021.09
5.6.130.0070.06721.07
5.6.120.0230.04721.06
5.6.110.0130.05721.07
5.6.100.0130.05721.13
5.6.90.0070.06721.02
5.6.80.0130.06320.48
5.6.70.0270.03720.54
5.6.60.0070.06720.45
5.6.50.0200.04320.57
5.6.40.0130.05720.54
5.6.30.0070.05720.48
5.6.20.0100.05720.43
5.6.10.0130.05020.42
5.6.00.0130.07320.40

preferences:
31.15 ms | 400 KiB | 5 Q