3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! if (preg_match("[0-9]{4}-[0-9]{2}-[0-9]{2}", "2013-12-05")) { echo 'true'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/qHif2
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%5B0-9%5D%7B4%7D-%5B0-9%5D%7B2%7D-%5B0-9%5D%7B2%7D'
          2        SEND_VAL                                                 '2013-12-05'
          3        DO_ICALL                                         $0      
          4      > JMPZ                                                     $0, ->6
    5     5    >   ECHO                                                     'true'
    6     6    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.32 ms | 1394 KiB | 15 Q