3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "magnet sfdu baserate sfdurate magnetrate porate backsiderate listrate usecustomrate custbaserate custsfdurate custmagnetrate custlogorate custbacksiderate custlistrate backside weight layout logo list listtype inventory notes active monthlyavg months poinfo prepayment taxrate custtaxrate soldavg termination salesrepfirst salesreplast salesrepcode servicerepfirst servicereplast servicerepcode dealerrate usemasteracct masteracctid upcharge copychgcode website depositamt graphicamt holddate canceldate holdflag pmttype certterm usedefaultcertterm frontgraphic backgraphic mastergraphicacct usemastergraphic magnetflag sfduflag modificationdate contractdate cancelled flatratebilling flatrate respondentlist respondentrate twotierbilling tagalongrate oticdescription splitzips certtermtext loyaltyflag webconfid pocount pending waiting rejected sub_svcs_tier billcontactfirst billcontactlast billphone billfax billemail crrtrate crrt status"; $str = str_replace("\t", " ", $str); $str = str_replace(" ", " ", $str); $chunks = explode(" ", $str); foreach($chunks as $k=>$v) if(empty($v)) unset($chunks[$k]); echo '"'.implode('", "', $chunks).'"';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 19, Position 2 = 25
Branch analysis from position: 19
2 jumps found. (Code = 78) Position 1 = 20, Position 2 = 25
Branch analysis from position: 20
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 24
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
Branch analysis from position: 24
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
filename:       /in/n5ffh
function name:  (null)
number of ops:  34
compiled vars:  !0 = $str, !1 = $chunks, !2 = $v, !3 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'magnet%09sfdu%09baserate%09sfdurate%09magnetrate%09porate%09backsiderate%09listrate%09usecustomrate%09custbaserate%09custsfdurate%09custmagnetrate%09custlogorate%09custbacksiderate%09custlistrate%09backside%09weight%09layout%09logo%09list%09listtype%09inventory%09notes%09active%09monthlyavg%09months%09poinfo%09prepayment%09taxrate%09custtaxrate%09soldavg%09termination%09salesrepfirst%09salesreplast%09salesrepcode%09servicerepfirst%09servicereplast%09servicerepcode%09dealerrate%09usemasteracct%09masteracctid%09upcharge%09copychgcode%09website%09depositamt%09graphicamt%09holddate%09canceldate%09holdflag%09pmttype%09certterm%09usedefaultcertterm%09frontgraphic%09backgraphic%09mastergraphicacct%09usemastergraphic%09magnetflag%09sfduflag%09modificationdate%09contractdate%09cancelled%09flatratebilling%09flatrate%09respondentlist%09respondentrate%09twotierbilling%09tagalongrate%09oticdescription%09splitzips%09certtermtext%09loyaltyflag%09webconfid%09pocount%09pending%09waiting%09rejected%09sub_svcs_tier%09billcontactfirst%09billcontactlast%09billphone%09billfax%09billemail%09crrtrate%09crrt%09status'
    5     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 '%09'
          3        SEND_VAL                                                 '+'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !0, $5
    6     7        INIT_FCALL                                               'str_replace'
          8        SEND_VAL                                                 '++'
          9        SEND_VAL                                                 '+'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $7      
         12        ASSIGN                                                   !0, $7
    8    13        INIT_FCALL                                               'explode'
         14        SEND_VAL                                                 '+'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $9      
         17        ASSIGN                                                   !1, $9
   10    18      > FE_RESET_R                                       $11     !1, ->25
         19    > > FE_FETCH_R                                       ~12     $11, !2, ->25
         20    >   ASSIGN                                                   !3, ~12
   11    21        ISSET_ISEMPTY_CV                                         !2
         22      > JMPZ                                                     ~14, ->24
         23    >   UNSET_DIM                                                !1, !3
   10    24    > > JMP                                                      ->19
         25    >   FE_FREE                                                  $11
   13    26        INIT_FCALL                                               'implode'
         27        SEND_VAL                                                 '%22%2C+%22'
         28        SEND_VAR                                                 !1
         29        DO_ICALL                                         $15     
         30        CONCAT                                           ~16     '%22', $15
         31        CONCAT                                           ~17     ~16, '%22'
         32        ECHO                                                     ~17
         33      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.1 ms | 1400 KiB | 19 Q