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(); foreach($alleMedia as $pmv) { $html .= '<img src="'.WEB_MEDIA.'/'.$pmv->I3Media->file.'.'.$pmv->I3Media->extension.'" />'; } echo $html; ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Class "Doctrine_Query" not found in /in/jXpcM:10 Stack trace: #0 {main} thrown in /in/jXpcM 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:
47.85 ms | 401 KiB | 8 Q