3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface xi { public function bindColumn ($column ,&$param ); public function bindParam ($paramno, &$param, $type = NULL, $maxlen = NULL, $driverdata = NULL); public function bindValue ($parameter ,$value); public function closeCursor (); public function columnCount (); public function debugDumpParams (); public function errorCode (); public function errorInfo (); public function execute ($bound_input_params = NULL ); public function fetch ($how = NULL, $orientation = NULL, $offset = NULL); public function fetchAll ( ); public function fetchColumn (); public function fetchObject (); public function getAttribute ($attribute ); public function getColumnMeta ($column ); public function nextRowset (); public function rowCount (); public function setAttribute ($attribute ,$value ); public function setFetchMode ($mode ); } class xc extends PDOStatement implements xi { } function foo(xi $x) { } foo(new xc);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Declaration of PDOStatement::bindColumn(string|int $column, mixed &$var, int $type = PDO::PARAM_STR, int $maxLength = 0, mixed $driverOptions = null): bool must be compatible with xi::bindColumn($column, &$param) in /in/ovjEi on line 0
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
35.83 ms | 401 KiB | 8 Q