3v4l.org

run code in 300+ PHP versions simultaneously
<?php // header('Content-Type: text/plain'); //charset=utf-8" require_once ('jpgraph/src/jpgraph.php'); require_once ('jpgraph/src/jpgraph_line.php'); // Some data $ydata = array(11,3,8,12,5,1,9,13,5,7); // Create the graph. These two calls are always required $graph = new Graph(350,250); $graph->SetScale('textlin'); // Create the linear plot $lineplot=new LinePlot($ydata); $lineplot->SetColor('blue'); // Add the plot to the graph $graph->Add($lineplot); // Display the graph $graph->Stroke(); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: require_once(): open_basedir restriction in effect. File(jpgraph/src/jpgraph.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/Y8SYB on line 3 Warning: require_once(jpgraph/src/jpgraph.php): Failed to open stream: Operation not permitted in /in/Y8SYB on line 3 Fatal error: Uncaught Error: Failed opening required 'jpgraph/src/jpgraph.php' (include_path='.:') in /in/Y8SYB:3 Stack trace: #0 {main} thrown in /in/Y8SYB on line 3
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:
92.77 ms | 401 KiB | 8 Q