3v4l.org

run code in 300+ PHP versions simultaneously
<?php $get_string = "TOKEN=EC%2d09F245458F168291J&TIMESTAMP=2015%2d08%2d29T08%3a22%3a55Z&CORRELATIONID=bf30a7057eaa1&ACK=Success&VERSION=78&BUILD=000000"; parse_str($get_string, $get_array); //print_r($get_array); // echo $get_array['ACK']; $params=['name'=>'John', 'surname'=>'Doe', 'age'=>36]; $defaults = array( CURLOPT_URL => 'http://myremoteservice/', CURLOPT_POST => true, CURLOPT_POSTFIELDS => $params, ); $ch = curl_init(); curl_setopt_array($ch, ($options + $defaults));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Undefined constant "CURLOPT_URL" in /in/Y03BZ:22 Stack trace: #0 {main} thrown in /in/Y03BZ on line 22
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:
50.85 ms | 401 KiB | 8 Q