3v4l.org

run code in 500+ PHP versions simultaneously
<?php $regex = '/(["\'])(?:(?=(\\\\?))\2.)*?\1(*SKIP)(*F)|\[([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)]/s'; $str = '$output = "<input name=\'variable[key]\' has to be preserved as it is."; $output = \'Even this string variable[key] has to be preserved as it is.\'; $variable[key] = "WhatElse"; $result = $wso->RSLA("7050", $vegalot, "600", "WFID_OK_WEB","1300", $_POST[username]); if ($result[ECD] != 0) { if ($line=="AAAA" && in_array(substr($wso->lot,0,7),$lot_aaaa_list) && $lot[wafer][25]) {'; echo preg_replace($regex, "['\$3']", $str);
Output for rfc.property-hooks, git.master, git.master_jit
$output = "<input name='variable[key]' has to be preserved as it is."; $output = 'Even this string variable[key] has to be preserved as it is.'; $variable['key'] = "WhatElse"; $result = $wso->RSLA("7050", $vegalot, "600", "WFID_OK_WEB","1300", $_POST['username']); if ($result['ECD'] != 0) { if ($line=="AAAA" && in_array(substr($wso->lot,0,7),$lot_aaaa_list) && $lot['wafer'][25]) {

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:
39.35 ms | 1416 KiB | 4 Q