3v4l.org

run code in 300+ PHP versions simultaneously
5<?php echo count_chars( "1AAABBCCCDDDDDDD",5 );
Output for git.master, git.master_jit
5 Fatal error: Uncaught ValueError: count_chars(): Argument #2 ($mode) must be between 1 and 4 (inclusive) in /in/GZIJ1:2 Stack trace: #0 /in/GZIJ1(2): count_chars('1AAABBCCCDDDDDD...', 5) #1 {main} thrown in /in/GZIJ1 on line 2
Process exited with code 255.
Output for rfc.property-hooks
5 Fatal error: Uncaught ValueError: count_chars(): Argument #2 ($mode) must be between 0 and 4 (inclusive) in /in/GZIJ1:2 Stack trace: #0 /in/GZIJ1(2): count_chars('1AAABBCCCDDDDDD...', 5) #1 {main} thrown in /in/GZIJ1 on line 2
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:
31.37 ms | 401 KiB | 8 Q