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 = []) {} }
Output for 8.3.0 - 8.3.30, 8.4.1 - 8.4.18, 8.5.0 - 8.5.3

preferences:
55.1 ms | 406 KiB | 5 Q