3v4l.org

run code in 300+ PHP versions simultaneously
<?php // haal alle renders van een bepaalde versie op $versionId = 2000; $html = ''; // haal alleen afbeeldingen op die bij deze versie horen $alleMedia = \Doctrine_Query::create() ->select('pm.projectMediaId') ->from('I3ProjectMedia pmv') ->where('pm.versionId = ? OR pm.projectId= ? ', array($versionId, $projectId)) ->execute(); //getSrc moet nog switchen op type en size foreach($alleMedia as $pm) { $html .= '<img src="'.$pm->I3Media->getSrc(size) .'" />'; } echo $html; ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Class "Doctrine_Query" not found in /in/8hC5V:10 Stack trace: #0 {main} thrown in /in/8hC5V on line 10
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:
51.02 ms | 401 KiB | 8 Q