3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $reg = '#[0-9]{2}/[0-9]{2}/[0-9]{4}#'; $str = "Avant le 30/04/2013"; $resultat = preg_match($reg,$str); var_dump($resultat);
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/faWhr
function name:  (null)
number of ops:  11
compiled vars:  !0 = $reg, !1 = $str, !2 = $resultat
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, '%23%5B0-9%5D%7B2%7D%2F%5B0-9%5D%7B2%7D%2F%5B0-9%5D%7B4%7D%23'
   3     1        ASSIGN                                                   !1, 'Avant+le+30%2F04%2F2013'
   4     2        INIT_FCALL                                               'preg_match'
         3        SEND_VAR                                                 !0
         4        SEND_VAR                                                 !1
         5        DO_ICALL                                         $5      
         6        ASSIGN                                                   !2, $5
   5     7        INIT_FCALL                                               'var_dump'
         8        SEND_VAR                                                 !2
         9        DO_ICALL                                                 
        10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0