3v4l.org

run code in 300+ PHP versions simultaneously
<?php $new_array = array( "8000", "12345", "6811-1", "7031", "6841" ); var_dump(max($new_array)); sort($new_array, SORT_STRING); var_dump($new_array);
Output for git.master, git.master_jit, rfc.property-hooks
string(4) "7031" array(5) { [0]=> string(5) "12345" [1]=> string(6) "6811-1" [2]=> string(4) "6841" [3]=> string(4) "7031" [4]=> string(4) "8000" }

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:
44.84 ms | 403 KiB | 8 Q