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(); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Y8SYB
function name:  (null)
number of ops:  27
compiled vars:  !0 = $ydata, !1 = $graph, !2 = $lineplot
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'header'
          1        SEND_VAL                                                 'Content-Type%3A+text%2Fplain'
          2        DO_ICALL                                                 
    3     3        INCLUDE_OR_EVAL                                          'jpgraph%2Fsrc%2Fjpgraph.php', REQUIRE_ONCE
    4     4        INCLUDE_OR_EVAL                                          'jpgraph%2Fsrc%2Fjpgraph_line.php', REQUIRE_ONCE
    7     5        ASSIGN                                                   !0, <array>
   10     6        NEW                                              $7      'Graph'
          7        SEND_VAL_EX                                              350
          8        SEND_VAL_EX                                              250
          9        DO_FCALL                                      0          
         10        ASSIGN                                                   !1, $7
   11    11        INIT_METHOD_CALL                                         !1, 'SetScale'
         12        SEND_VAL_EX                                              'textlin'
         13        DO_FCALL                                      0          
   14    14        NEW                                              $11     'LinePlot'
         15        SEND_VAR_EX                                              !0
         16        DO_FCALL                                      0          
         17        ASSIGN                                                   !2, $11
   15    18        INIT_METHOD_CALL                                         !2, 'SetColor'
         19        SEND_VAL_EX                                              'blue'
         20        DO_FCALL                                      0          
   18    21        INIT_METHOD_CALL                                         !1, 'Add'
         22        SEND_VAR_EX                                              !2
         23        DO_FCALL                                      0          
   21    24        INIT_METHOD_CALL                                         !1, 'Stroke'
         25        DO_FCALL                                      0          
   22    26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.58 ms | 1395 KiB | 15 Q