3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://middlecoin.com'; $contents = file_get_contents($url); preg_match_all('/<td>(.*?)<\/td>/s', $contents, $matches); $ex = explode(" ", strip_tags($matches[0][0])); $output .= "<span style='color:red; font-weight:bold;'>Balance:</span> ".$matches[0][5]." BTC<br />"; $output .= "<span style='color:#3399ff; font-weight:bold;'>Unexchanged:</span> ".$matches[0][4]." BTC<br />"; $output .= "<span style='color:#51d051; font-weight:bold;'>Immature:</span> ".$matches[0][3]." BTC<br />"; //$output .= "<span style='color:#000000; font-weight:bold;'>Paid:</span> ".$matches[0][6]."<br />"; $output .= "<br /><span style='font-weight:bold;'><a href='middlecoin-graph.php'>MiddleCoin Graph</a></span>"; return $output; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EoT8m
function name:  (null)
number of ops:  38
compiled vars:  !0 = $url, !1 = $contents, !2 = $matches, !3 = $ex, !4 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fmiddlecoin.com'
    4     1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $6      
          4        ASSIGN                                                   !1, $6
    5     5        INIT_FCALL                                               'preg_match_all'
          6        SEND_VAL                                                 '%2F%3Ctd%3E%28.%2A%3F%29%3C%5C%2Ftd%3E%2Fs'
          7        SEND_VAR                                                 !1
          8        SEND_REF                                                 !2
          9        DO_ICALL                                                 
    6    10        INIT_FCALL                                               'explode'
         11        SEND_VAL                                                 '+'
         12        INIT_FCALL                                               'strip_tags'
         13        FETCH_DIM_R                                      ~9      !2, 0
         14        FETCH_DIM_R                                      ~10     ~9, 0
         15        SEND_VAL                                                 ~10
         16        DO_ICALL                                         $11     
         17        SEND_VAR                                                 $11
         18        DO_ICALL                                         $12     
         19        ASSIGN                                                   !3, $12
    8    20        FETCH_DIM_R                                      ~14     !2, 0
         21        FETCH_DIM_R                                      ~15     ~14, 5
         22        CONCAT                                           ~16     '%3Cspan+style%3D%27color%3Ared%3B+font-weight%3Abold%3B%27%3EBalance%3A%3C%2Fspan%3E+', ~15
         23        CONCAT                                           ~17     ~16, '+BTC%3Cbr+%2F%3E'
         24        ASSIGN_OP                                     8          !4, ~17
    9    25        FETCH_DIM_R                                      ~19     !2, 0
         26        FETCH_DIM_R                                      ~20     ~19, 4
         27        CONCAT                                           ~21     '%3Cspan+style%3D%27color%3A%233399ff%3B+font-weight%3Abold%3B%27%3EUnexchanged%3A%3C%2Fspan%3E+', ~20
         28        CONCAT                                           ~22     ~21, '+BTC%3Cbr+%2F%3E'
         29        ASSIGN_OP                                     8          !4, ~22
   10    30        FETCH_DIM_R                                      ~24     !2, 0
         31        FETCH_DIM_R                                      ~25     ~24, 3
         32        CONCAT                                           ~26     '%3Cspan+style%3D%27color%3A%2351d051%3B+font-weight%3Abold%3B%27%3EImmature%3A%3C%2Fspan%3E+', ~25
         33        CONCAT                                           ~27     ~26, '+BTC%3Cbr+%2F%3E'
         34        ASSIGN_OP                                     8          !4, ~27
   12    35        ASSIGN_OP                                     8          !4, '%3Cbr+%2F%3E%3Cspan+style%3D%27font-weight%3Abold%3B%27%3E%3Ca+href%3D%27middlecoin-graph.php%27%3EMiddleCoin+Graph%3C%2Fa%3E%3C%2Fspan%3E'
   14    36      > RETURN                                                   !4
   15    37*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.88 ms | 1392 KiB | 21 Q