3v4l.org

run code in 300+ PHP versions simultaneously
<?php function hereGo(int $id = null){ if($id){ echo "we are here"; } } var_dump(hereGo('e'));

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.00918.43
8.3.50.0100.01018.04
8.3.40.0140.00318.76
8.3.30.0150.00018.57
8.3.20.0080.00320.69
8.3.10.0000.00823.48
8.3.00.0000.00823.45
8.2.180.0120.00616.48
8.2.170.0150.00622.96
8.2.160.0110.00420.27
8.2.150.0110.00324.18
8.2.140.0140.00424.66
8.2.130.0040.00420.36
8.2.120.0050.00226.35
8.2.110.0040.00420.47
8.2.100.0000.01117.72
8.2.90.0090.00020.60
8.2.80.0080.00017.97
8.2.70.0000.00917.90
8.2.60.0050.00318.03
8.2.50.0030.00518.10
8.2.40.0020.00519.38
8.2.30.0000.00719.25
8.2.20.0000.00718.04
8.2.10.0020.00519.13
8.2.00.0070.00017.93
8.1.280.0080.00825.92
8.1.270.0060.00318.88
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0030.00723.63
8.1.230.0110.00020.95
8.1.220.0000.00817.74
8.1.210.0040.00419.16
8.1.200.0030.00617.23
8.1.190.0000.00817.22
8.1.180.0040.00418.10
8.1.170.0030.00618.54
8.1.160.0050.00318.75
8.1.150.0040.00418.74
8.1.140.0040.00418.74
8.1.130.0070.00020.08
8.1.120.0000.00717.31
8.1.110.0030.00617.36
8.1.100.0040.00417.24
8.1.90.0080.00017.21
8.1.80.0000.00917.15
8.1.70.0070.00017.32
8.1.60.0000.00917.48
8.1.50.0000.01217.46
8.1.40.0040.00417.45
8.1.30.0000.00817.59
8.1.20.0040.00417.56
8.1.10.0040.00417.54
8.1.00.0040.00417.32
8.0.300.0040.00419.90
8.0.290.0100.00016.63
8.0.280.0050.00318.41
8.0.270.0030.00517.19
8.0.260.0070.00018.42
8.0.250.0000.00816.98
8.0.240.0070.00317.00
8.0.230.0040.00416.99
8.0.220.0000.00616.91
8.0.210.0000.00716.88
8.0.200.0000.00616.80
8.0.190.0040.00416.79
8.0.180.0050.00316.92
8.0.170.0030.00516.77
8.0.160.0040.00416.92
8.0.150.0030.00316.73
8.0.140.0030.00316.87
8.0.130.0000.00613.27
8.0.120.0000.00716.86
8.0.110.0000.00716.77
8.0.100.0030.00516.73
8.0.90.0040.00416.93
8.0.80.0090.00616.84
8.0.70.0040.00416.83
8.0.60.0070.00016.88
8.0.50.0000.00716.69
8.0.30.0100.00916.97
8.0.20.0130.01317.40
8.0.10.0040.00416.95
8.0.00.0110.00916.60
7.4.330.0000.00515.55
7.4.320.0060.00016.46
7.4.300.0040.00416.53
7.4.290.0000.00716.52
7.4.280.0030.00516.42
7.4.270.0000.00716.50
7.4.260.0030.00316.50
7.4.250.0070.00016.51
7.4.240.0000.00716.55
7.4.230.0000.00716.63
7.4.220.0040.00416.23
7.4.210.0050.00916.38
7.4.200.0000.00716.61
7.4.160.0060.00916.29
7.4.140.0080.01117.86
7.4.130.0070.01116.34
7.4.120.0090.01316.43
7.4.110.0120.00616.63
7.4.100.0170.00716.52
7.4.90.0060.01016.50
7.4.80.0130.00919.39
7.4.70.0080.00816.59
7.4.60.0120.01216.36
7.4.50.0100.00516.51
7.4.40.0060.01016.50
7.4.00.0070.01115.18
7.3.330.0050.00013.25
7.3.320.0000.00513.11
7.3.310.0000.00816.34
7.3.300.0000.00616.28
7.3.290.0030.00316.30
7.3.280.0090.01116.24
7.3.260.0110.00816.35
7.3.240.0120.00816.31
7.3.230.0100.00616.41
7.3.210.0100.00716.46
7.3.200.0100.00616.49
7.3.190.0100.01016.25
7.3.180.0060.00916.30
7.3.170.0120.00916.45
7.3.160.0120.00916.39
7.3.120.0090.00614.88
7.3.110.0030.01014.71
7.3.100.0040.00814.79
7.3.90.0000.01014.78
7.3.80.0070.00714.75
7.3.70.0040.01114.56
7.3.60.0060.00614.82
7.3.50.0000.01314.88
7.3.40.0060.00914.45
7.3.30.0030.01014.65
7.3.20.0040.01216.60
7.3.10.0180.00715.70
7.3.00.0220.01215.71
7.2.330.0040.01816.67
7.2.320.0070.01416.49
7.2.310.0030.01516.36
7.2.300.0130.00316.50
7.2.290.0130.00316.48
7.2.240.0060.00314.85
7.2.230.0000.01115.14
7.2.220.0030.00915.08
7.2.210.0100.00714.60
7.2.200.0040.01114.51
7.2.190.0000.01214.68
7.2.180.0060.00314.88
7.2.170.0030.01014.86
7.2.160.0100.00314.86
7.2.150.0060.00616.65
7.2.140.0080.00816.77
7.2.130.0210.01015.86
7.2.120.0330.01015.64
7.2.110.0210.00515.72
7.2.100.0250.00415.64
7.2.90.0130.00815.59
7.2.80.0170.00715.83
7.2.70.0260.00515.90
7.2.60.0240.00715.72
7.2.50.0220.00115.77
7.2.40.0170.00315.79
7.2.30.0290.01115.85
7.2.20.0270.00715.86
7.2.10.0190.00915.71
7.2.00.0200.01015.77
7.1.330.0030.00915.65
7.1.320.0000.01515.69
7.1.310.0030.01015.37
7.1.300.0000.00815.76
7.1.290.0030.00615.73
7.1.280.0030.00715.74
7.1.270.0070.00415.52
7.1.260.0030.01315.41
7.1.250.0160.00814.72

preferences:
53.8 ms | 400 KiB | 5 Q