3v4l.org

run code in 300+ PHP versions simultaneously
<?php $postvals = array( 'barcode' => 'CP021325078TR', 'security_code' => $capcha2 ); $_h = curl_init(); curl_setopt($_h, CURLOPT_HEADER, 1); curl_setopt($_h, CURLOPT_RETURNTRANSFER, 1); curl_setopt($_h, CURLOPT_HTTPGET, 1); curl_setopt($_h, CURLOPT_URL, 'http://www1.ptt.gov.tr/tr/interaktif/sonuc-yd.php' ); curl_setopt($_h, CURLOPT_POST, true ); curl_setopt($_h, CURLOPT_POSTFIELDS, $postvals ); curl_setopt($_h, CURLOPT_DNS_USE_GLOBAL_CACHE, false ); curl_setopt($_h, CURLOPT_DNS_CACHE_TIMEOUT, 2 ); var_dump(curl_exec($_h)); var_dump(curl_getinfo($_h)); var_dump(curl_error($_h));
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $capcha2 in /in/FCYJ5 on line 5 Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/FCYJ5:8 Stack trace: #0 {main} thrown in /in/FCYJ5 on line 8
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:
47.28 ms | 401 KiB | 8 Q