3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Transliterator { const FORWARD = 0; const REVERSE = 1; public $id; public function __construct() { } /** * @param string $id * @param int $direction * @return Transliterator */ public static function create( $id, $direction = 0 ) { } /** * @param string $id * @param int $direction * @return Transliterator */ public static function createFromRules( $rules, $direction = 0 ) { } /** * @return Transliterator */ public function createInverse() { } /** * @return int */ public function getErrorCode() { } /** * @return string */ public function getErorMessage() { } /** * @return array */ public static function listIDs() { } /** * @param string $subject * @param int $start * @param int $end * @return string */ public function transliterate( $subject, $start = 0, $end = -1 ) { } }
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Cannot declare class Transliterator, because the name is already in use in /in/Dq206 on line 3
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:
27.71 ms | 405 KiB | 5 Q