3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo array_search( 'image/svg+xml', array( 'jpg' => 'image/jpeg', 'png' => 'image/png', 'svg' => 'image/svg+xml', 'svg' => 'text/html', 'svg' => 'text/plain', 'gif' => 'image/gif' ), true );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/euLJj
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'array_search'
    4     1        SEND_VAL                                                 'image%2Fsvg%2Bxml'
    6     2        SEND_VAL                                                 <array>
   13     3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $0      
          5        ECHO                                                     $0
   14     6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
201.22 ms | 1393 KiB | 15 Q