3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_match_all("~%(?:(\d+)[$])?[-+]?(?:[ 0]|['].)?(?:[-]?\d+)?(?:[.]\d+)?[%bcdeEufFgGosxX]~", 'The %2$s contains %1$d monkeys'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Yi5di
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%7E%25%28%3F%3A%28%5Cd%2B%29%5B%24%5D%29%3F%5B-%2B%5D%3F%28%3F%3A%5B+0%5D%7C%5B%27%5D.%29%3F%28%3F%3A%5B-%5D%3F%5Cd%2B%29%3F%28%3F%3A%5B.%5D%5Cd%2B%29%3F%5B%25bcdeEufFgGosxX%5D%7E'
          3        SEND_VAL                                                 'The+%252%24s+contains+%251%24d+monkeys'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.97 ms | 1394 KiB | 17 Q