3v4l.org

run code in 500+ PHP versions simultaneously
<?php $name = 'ParaTest\\Tests\\fixtures\\function_parallelization_tests\\FunctionalParallelizationTest::testDataProvider2 with data set "test2 with ' . "\0" . ' within"'; $filter = '/testDataProvider2.*with data set "test2 with ' . "\0" . ' within"$/i'; var_dump(preg_match($filter, $name, $matches));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iENgn
function name:  (null)
number of ops:  11
compiled vars:  !0 = $name, !1 = $filter, !2 = $matches
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'ParaTest%5CTests%5Cfixtures%5Cfunction_parallelization_tests%5CFunctionalParallelizationTest%3A%3AtestDataProvider2+with+data+set+%22test2+with+%00+within%22'
    4     1        ASSIGN                                                       !1, '%2FtestDataProvider2.%2Awith+data+set+%22test2+with+%00+within%22%24%2Fi'
    6     2        INIT_FCALL                                                   'var_dump'
          3        INIT_FCALL                                                   'preg_match'
          4        SEND_VAR                                                     !1
          5        SEND_VAR                                                     !0
          6        SEND_REF                                                     !2
          7        DO_ICALL                                             $5      
          8        SEND_VAR                                                     $5
          9        DO_ICALL                                                     
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.23 ms | 1801 KiB | 15 Q