3v4l.org

run code in 300+ PHP versions simultaneously
<?php class URL { //! aggiunge gli array di dati e tutta la qry str passata in get ad un url function append($url = '', $a = array()) { $g = $_GET; for ($i = 1; $i < func_num_args(); $i++) { $a = func_get_arg($i); $g = array_merge($g, $a); } // non propagare MAI le key speciali usate dal login $g['__u__'] = null; $g['__p__'] = null; return $url . '?' . http_build_query($g); } } echo URL::append('test', array('a'=>1));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Non-static method URL::append() cannot be called statically in /in/aL2kP:21 Stack trace: #0 {main} thrown in /in/aL2kP on line 21
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:
43.41 ms | 401 KiB | 8 Q