3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.43 ms | 1394 KiB | 19 Q