3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface StatementInterface { public function setFetchMode(FetchAs $mode, string|int|null $a1 = NULL, array $a2 = []); public function execute(?array $args = [], array $options = []); } class StatementBase implements StatementInterface { public function setFetchMode($mode, $a1 = NULL, $a2 = []) {} public function execute($args = [], $options = []) {} }

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.5.30.0260.00617.11
8.5.20.0320.00816.73
8.5.10.0330.00816.73
8.5.00.0320.01016.73
8.4.180.0140.01219.46
8.4.170.0320.01319.46
8.4.160.0340.00819.54
8.4.150.0350.00819.45
8.4.140.0140.00617.30
8.4.130.0350.01217.12
8.4.120.0400.00817.47
8.4.110.0390.00817.76
8.4.100.0360.01417.55
8.4.90.0470.00917.46
8.4.80.0400.01017.58
8.4.70.0370.01117.61
8.4.60.0400.01017.44
8.4.50.0430.01217.42
8.4.40.0400.01317.45
8.4.30.0370.01417.64
8.4.20.0460.00817.55
8.4.10.0400.01017.48
8.3.300.0460.00617.91
8.3.290.0310.01318.27
8.3.280.0210.00818.29
8.3.270.0360.00716.73
8.3.260.0340.00916.73
8.3.250.0360.01016.73
8.3.240.0350.00916.73
8.3.230.0390.00716.73
8.3.220.0340.00916.73
8.3.210.0370.00916.73
8.3.200.0340.00916.73
8.3.190.0350.00816.73
8.3.180.0340.00916.73
8.3.170.0390.00816.73
8.3.160.0430.00716.73
8.3.150.0440.00716.73
8.3.140.0390.00816.73
8.3.130.0320.01016.73
8.3.120.0310.00916.73
8.3.110.0300.01116.73
8.3.100.0420.00616.73
8.3.90.0330.00916.73
8.3.80.0390.01316.73
8.3.70.0460.00916.73
8.3.60.0400.01016.73
8.3.50.0480.00916.73
8.3.40.0390.01217.52
8.3.30.0320.00417.83
8.3.20.0270.01017.85
8.3.10.0340.00717.66
8.3.00.0170.01017.78

preferences:
38.06 ms | 403 KiB | 5 Q