3v4l.org

run code in 500+ PHP versions simultaneously
<?php $tempStyleArray = preg_split( "/ *[:;]+ */", "width: 569px; height: 26.456692913px; margin: 0px; border: 2px solid black;", 0, PREG_SPLIT_NO_EMPTY ); var_export($tempStyleArray); echo array_search('height', $tempStyleArray);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vfC56
function name:  (null)
number of ops:  16
compiled vars:  !0 = $tempStyleArray
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'preg_split'
    4     1        SEND_VAL                                                     '%2F+%2A%5B%3A%3B%5D%2B+%2A%2F'
    5     2        SEND_VAL                                                     'width%3A+569px%3B+height%3A+26.456692913px%3B+margin%3A+0px%3B+border%3A+2px+solid+black%3B'
    6     3        SEND_VAL                                                     0
    7     4        SEND_VAL                                                     1
    3     5        DO_ICALL                                             $1      
          6        ASSIGN                                                       !0, $1
   10     7        INIT_FCALL                                                   'var_export'
          8        SEND_VAR                                                     !0
          9        DO_ICALL                                                     
   12    10        INIT_FCALL                                                   'array_search'
         11        SEND_VAL                                                     'height'
         12        SEND_VAR                                                     !0
         13        DO_ICALL                                             $4      
         14        ECHO                                                         $4
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.23 ms | 1733 KiB | 16 Q