3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hrefVal = 'javascript:__doPostBack(&#39;ctl00$ContentPlaceHolder1$hlPendingDeletes1&#39;,&#39;&#39;)'; $hrefVal = html_entity_decode($hrefVal); $args = str_replace("'", '', substr($hrefVal, strpos($hrefVal, '(') + 1, strpos($hrefVal, ')') - strpos($hrefVal, '(') - 1)); list($eventTarget, $eventArguments) = explode(',', $args); echo "EVENTTARGET: $eventTarget, EVENTARGUMENTS: $eventArguments";

preferences:
30.86 ms | 402 KiB | 5 Q