3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regex = '/<!--.*? ([\d\.]+)/s'; $string = '<!--Version 5.2 Vehicle Selling Price added to contracting request--> <!--Version 5.1.1 Fixed issue with EX1DealStatus, see PRO-940--> <!--Version 5.1 Added form fields complex type to rate response, s'; preg_match_all($regex,$string,$o); echo $string[1][0];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dPccl
function name:  (null)
number of ops:  11
compiled vars:  !0 = $regex, !1 = $string, !2 = $o
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2F%3C%21--.%2A%3F+%28%5B%5Cd%5C.%5D%2B%29%2Fs'
    3     1        ASSIGN                                                   !1, '%3C%21--Version+5.2+Vehicle+Selling+Price+added+to+contracting+request--%3E%0A+++++++%3C%21--Version+5.1.1+Fixed+issue+with+EX1DealStatus%2C+see+PRO-940--%3E%0A++++%3C%21--Version+5.1+Added+form+fields+complex+type+to+rate+response%2C+s'
    6     2        INIT_FCALL                                               'preg_match_all'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        SEND_REF                                                 !2
          6        DO_ICALL                                                 
    8     7        FETCH_DIM_R                                      ~6      !1, 1
          8        FETCH_DIM_R                                      ~7      ~6, 0
          9        ECHO                                                     ~7
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.28 ms | 1394 KiB | 15 Q