3v4l.org

run code in 300+ PHP versions simultaneously
<?php $images[] = "/cache/user-ErgL4WpHE4SGK7pc-2014-09-17_10-10-18-questionmark.png"; preg_match('/-([a-zA-Z0-9]*).png/', (string)current($images), $matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EGRSo
function name:  (null)
number of ops:  12
compiled vars:  !0 = $images, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0
          1        OP_DATA                                                  '%2Fcache%2Fuser-ErgL4WpHE4SGK7pc-2014-09-17_10-10-18-questionmark.png'
    5     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%2F-%28%5Ba-zA-Z0-9%5D%2A%29.png%2F'
          4        INIT_FCALL                                               'current'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $3      
          7        CAST                                          6  ~4      $3
          8        SEND_VAL                                                 ~4
          9        SEND_REF                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.27 ms | 1394 KiB | 17 Q