3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = 'toto 147 1.6i 16V 1598 cc 77 Kw / 105 cv AR37203'; preg_match('/^[^.]+/', $t, $matches, 0 , 1); print_r($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tjJgS
function name:  (null)
number of ops:  12
compiled vars:  !0 = $t, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'toto+147+1.6i+16V+1598+cc+77+Kw+%2F+105+cv+AR37203'
    3     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5E%5B%5E.%5D%2B%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        SEND_VAL                                                 0
          6        SEND_VAL                                                 1
          7        DO_ICALL                                                 
    4     8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.73 ms | 1394 KiB | 17 Q