3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface SessionDurations{ const SESSION_LIFETIME_30_DAYS = 30; const SESSION_LIFETIME_90_DAYS = self::SESSION_LIFETIME_30_DAYS * 3; } echo SessionDurations::SESSION_LIFETIME_90_DAYS;

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.0090.00618.55
8.3.50.0110.00717.91
8.3.40.0120.00318.63
8.3.30.0090.00618.57
8.3.20.0070.00020.29
8.3.10.0040.00421.85
8.3.00.0040.00419.13
8.2.180.0120.00616.63
8.2.170.0080.01122.96
8.2.160.0060.01120.57
8.2.150.0070.00024.18
8.2.140.0000.00724.66
8.2.130.0040.00422.12
8.2.120.0080.00026.35
8.2.110.0040.00420.52
8.2.100.0060.00617.72
8.2.90.0000.00817.84
8.2.80.0040.00417.97
8.2.70.0100.00017.93
8.2.60.0040.00418.03
8.2.50.0000.00918.10
8.2.40.0030.00620.45
8.2.30.0040.00419.04
8.2.20.0060.00317.93
8.2.10.0030.00517.99
8.2.00.0030.00318.21
8.1.280.0030.01425.92
8.1.270.0030.00620.09
8.1.260.0030.00526.35
8.1.250.0050.00328.09
8.1.240.0060.00322.52
8.1.230.0000.01122.73
8.1.220.0080.00017.74
8.1.210.0030.00718.77
8.1.200.0060.00317.10
8.1.190.0000.00917.10
8.1.180.0090.00018.10
8.1.170.0000.00818.48
8.1.160.0070.00018.73
8.1.150.0000.00718.81
8.1.140.0040.00417.56
8.1.130.0070.00418.97
8.1.120.0000.00717.34
8.1.110.0000.00917.34
8.1.100.0030.00617.29
8.1.90.0000.00917.37
8.1.80.0000.00917.23
8.1.70.0030.00317.21
8.1.60.0000.00817.36
8.1.50.0000.00817.27
8.1.40.0040.00417.40
8.1.30.0080.00017.48
8.1.20.0040.00417.51
8.1.10.0000.00817.32
8.1.00.0000.00717.34
8.0.300.0030.00319.98
8.0.290.0000.00716.63
8.0.280.0000.00718.42
8.0.270.0080.00017.18
8.0.260.0040.00418.43
8.0.250.0000.00716.75
8.0.240.0030.00316.84
8.0.230.0030.00316.84
8.0.220.0000.00716.79
8.0.210.0030.00316.76
8.0.200.0000.00616.86
8.0.190.0000.00816.68
8.0.180.0070.00016.76
8.0.170.0060.00316.79
8.0.160.0030.00316.83
8.0.150.0030.00316.61
8.0.140.0030.00516.73
8.0.130.0000.00513.18
8.0.120.0030.00516.57
8.0.110.0000.00716.80
8.0.100.0000.00716.70
8.0.90.0040.00416.55
8.0.80.0070.01416.82
8.0.70.0030.00316.59
8.0.60.0030.00416.81
8.0.50.0000.00816.81
8.0.30.0070.01116.77
8.0.20.0120.00717.40
8.0.10.0040.00416.76
8.0.00.0100.00716.69
7.4.330.0030.00315.55
7.4.320.0060.00016.33
7.4.300.0030.00316.45
7.4.290.0000.00916.31
7.4.280.0000.00816.30
7.4.270.0050.00216.32
7.4.260.0080.00016.44
7.4.250.0070.00016.37
7.4.240.0030.00316.37
7.4.230.0000.00716.48
7.4.220.0000.00716.34
7.4.210.0090.00616.54
7.4.200.0040.00416.30
7.4.160.0110.00816.40
7.4.150.0070.01017.40
7.4.140.0110.01117.86
7.4.130.0070.01116.14
7.4.120.0080.00916.39
7.4.110.0130.00316.53
7.4.100.0120.00316.56
7.4.90.0100.00716.34
7.4.80.0100.01619.39
7.4.70.0070.01316.32
7.4.60.0110.00716.28
7.4.50.0130.00316.46
7.4.40.0100.00716.30
7.4.00.0040.01114.82
7.3.330.0030.00313.01
7.3.320.0000.00613.00
7.3.310.0000.00715.98
7.3.300.0030.00316.18
7.3.290.0070.01016.12
7.3.280.0120.00916.15
7.3.270.0100.00717.40
7.3.260.0120.00616.45
7.3.250.0120.00716.38
7.3.240.0070.01316.29
7.3.230.0040.01216.45
7.3.210.0120.00416.17
7.3.200.0120.00316.37
7.3.190.0040.01216.09
7.3.180.0060.01016.23
7.3.170.0060.01016.38
7.3.160.0070.01016.35
7.2.330.0090.01016.30
7.2.320.0060.01316.50
7.2.310.0130.00316.39
7.2.300.0070.01016.57
7.2.290.0030.01216.37
7.2.60.0000.01416.56
7.2.10.0300.01117.65
7.2.00.0270.01317.47
7.1.200.0110.00315.61
7.1.130.0260.00916.66
7.1.120.0310.01016.40
7.1.110.0270.01215.91
7.1.100.0240.00815.82
7.1.90.0480.00915.61
7.1.80.0300.00615.91
7.1.70.0330.00815.11
7.1.60.0410.00933.08
7.1.50.0480.01232.80
7.1.40.0370.01332.54
7.1.30.0430.01332.51
7.1.20.0360.01232.56
7.1.10.0420.00814.54
7.1.00.0310.00914.61

preferences:
57.58 ms | 401 KiB | 5 Q