3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sql = "select ex.opening_minutes as opening, asset.assetID, ex.google_code as exch_google_code, asset.google_code as asset_google_code from selected_asset as sa". " inner join asset on asset.assetID = sa.assetID". " inner join asset_exchange ae on ae.assetID = sa.assetID". " inner join exchange as ex on ex.exchangeID = ae.exchangeID". " where ae.exchangeID = ".$exchangeID." and sa.brokerID = ".$brokerID; $extension = ""; $asset_google_code = $rec["asset_google_code"]; $exchange_google_code = $rec["exch_google_code"]; $assetentry = array ( $rec["assetID"] => $asset_google_code ); $assets[] = $assetentry; $extension .= trim($exchange_google_code) .":".$asset_google_code.","; //$extension = rtrim($extension, ","); $extension .= "'"; $sql = "select ex.opening_minutes as opening from exchange as ex where ex.exchangeID = ".$exchangeID;
Output for git.master, git.master_jit
Warning: Undefined variable $exchangeID in /in/qVkN9 on line 7 Warning: Undefined variable $brokerID in /in/qVkN9 on line 7 Warning: Undefined variable $rec in /in/qVkN9 on line 10 Warning: Trying to access array offset on value of type null in /in/qVkN9 on line 10 Warning: Undefined variable $rec in /in/qVkN9 on line 11 Warning: Trying to access array offset on value of type null in /in/qVkN9 on line 11 Warning: Undefined variable $rec in /in/qVkN9 on line 12 Warning: Trying to access array offset on value of type null in /in/qVkN9 on line 12 Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /in/qVkN9 on line 14 Warning: Undefined variable $exchangeID in /in/qVkN9 on line 19
Output for rfc.property-hooks
Warning: Undefined variable $exchangeID in /in/qVkN9 on line 7 Warning: Undefined variable $brokerID in /in/qVkN9 on line 7 Warning: Undefined variable $rec in /in/qVkN9 on line 10 Warning: Trying to access array offset on null in /in/qVkN9 on line 10 Warning: Undefined variable $rec in /in/qVkN9 on line 11 Warning: Trying to access array offset on null in /in/qVkN9 on line 11 Warning: Undefined variable $rec in /in/qVkN9 on line 12 Warning: Trying to access array offset on null in /in/qVkN9 on line 12 Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /in/qVkN9 on line 14 Warning: Undefined variable $exchangeID in /in/qVkN9 on line 19

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:
36.81 ms | 402 KiB | 8 Q