3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); date_default_timezone_set('UTC'); phpinfo(INFO_GENERAL | INFO_CONFIGURATION | INFO_MODULES); $phpinfo = ob_get_contents(); ob_end_clean(); preg_match_all('#<body[^>]*>(.*)</body>#siU', $phpinfo, $output); $output1 = preg_replace('#<table[^>]*>#', '<table class="table table-striped adminlist">', $output[1][0]); echo $output[1][0] . PHP_EOL . PHP_EOL . $output1;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/a0KUr
function name:  (null)
number of ops:  33
compiled vars:  !0 = $phpinfo, !1 = $output, !2 = $output1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ob_start'
          1        DO_ICALL                                                 
    3     2        INIT_FCALL                                               'date_default_timezone_set'
          3        SEND_VAL                                                 'UTC'
          4        DO_ICALL                                                 
    4     5        INIT_FCALL                                               'phpinfo'
          6        SEND_VAL                                                 13
          7        DO_ICALL                                                 
    5     8        INIT_FCALL                                               'ob_get_contents'
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !0, $6
    6    11        INIT_FCALL                                               'ob_end_clean'
         12        DO_ICALL                                                 
    7    13        INIT_FCALL                                               'preg_match_all'
         14        SEND_VAL                                                 '%23%3Cbody%5B%5E%3E%5D%2A%3E%28.%2A%29%3C%2Fbody%3E%23siU'
         15        SEND_VAR                                                 !0
         16        SEND_REF                                                 !1
         17        DO_ICALL                                                 
    8    18        INIT_FCALL                                               'preg_replace'
         19        SEND_VAL                                                 '%23%3Ctable%5B%5E%3E%5D%2A%3E%23'
         20        SEND_VAL                                                 '%3Ctable+class%3D%22table+table-striped+adminlist%22%3E'
         21        FETCH_DIM_R                                      ~10     !1, 1
         22        FETCH_DIM_R                                      ~11     ~10, 0
         23        SEND_VAL                                                 ~11
         24        DO_ICALL                                         $12     
         25        ASSIGN                                                   !2, $12
    9    26        FETCH_DIM_R                                      ~14     !1, 1
         27        FETCH_DIM_R                                      ~15     ~14, 0
         28        CONCAT                                           ~16     ~15, '%0A'
         29        CONCAT                                           ~17     ~16, '%0A'
         30        CONCAT                                           ~18     ~17, !2
         31        ECHO                                                     ~18
         32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
196.24 ms | 941 KiB | 28 Q