3v4l.org

run code in 300+ PHP versions simultaneously
<?php function optional(?string $optional = null) {} function nullable(?string $nullable) {} optional(); nullable();

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.140.0110.00716.77
8.3.130.0040.00416.82
8.3.120.0120.00319.10
8.3.110.0000.00820.94
8.3.100.0120.00424.06
8.3.90.0060.00326.77
8.3.80.0060.00318.43
8.3.70.0110.00716.63
8.3.60.0430.01125.92
8.3.50.0180.00425.92
8.3.40.0270.01425.92
8.3.30.0410.00625.92
8.3.20.0440.00325.92
8.3.10.0330.01125.92
8.3.00.0410.00725.92
8.2.250.0050.00318.69
8.2.240.0070.00418.71
8.2.230.0080.00022.58
8.2.220.0040.00437.54
8.2.210.0100.01026.77
8.2.200.0030.00618.54
8.2.190.0120.00316.75
8.2.180.0510.00325.92
8.2.170.0470.00825.92
8.2.160.0300.02125.92
8.2.150.0310.00725.92
8.2.140.0280.01425.92
8.2.130.0320.01325.92
8.2.120.0290.01325.92
8.2.110.0300.01125.92
8.2.100.0370.00925.92
8.2.90.0370.01025.92
8.2.80.0390.00825.92
8.2.70.0340.01325.92
8.2.60.0540.00325.92
8.2.50.0390.01025.92
8.2.40.0480.00325.92
8.2.30.0240.00925.92
8.2.20.0320.00925.92
8.2.10.0320.01325.92
8.2.00.0310.01425.92
8.1.300.0060.00318.32
8.1.290.0090.00030.84
8.1.280.0400.00625.92
8.1.270.0250.02225.92
8.1.260.0340.00825.92
8.1.250.0420.00325.92
8.1.240.0310.01225.92
8.1.230.0260.01025.92
8.1.220.0300.00625.92
8.1.210.0320.00425.92
8.1.200.0310.01025.92
8.1.190.0270.01225.92
8.1.180.0320.00725.92
8.1.170.0290.00625.92
8.1.160.0280.01425.92
8.1.150.0330.00725.92
8.1.140.0360.00725.92
8.1.130.0300.00925.92
8.1.120.0330.00725.92
8.1.110.0300.01125.92
8.1.100.0390.00325.92
8.1.90.0290.01325.92
8.1.80.0350.00625.92
8.1.70.0400.00325.92
8.1.60.0340.01425.92
8.1.50.0460.01825.92
8.1.40.0530.00625.92
8.1.30.0440.00325.92
8.1.20.0370.00725.92
8.1.10.0380.00925.92
8.1.00.0330.01325.92

preferences:
40.43 ms | 403 KiB | 5 Q