3v4l.org

run code in 500+ PHP versions simultaneously
<?php declare(strict_types=1); echo preg_quote('works'); echo preg_quote('throws', null);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ufjFF
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                                   'preg_quote'
          1        SEND_VAL                                                     'works'
          2        DO_ICALL                                             $0      
          3        ECHO                                                         $0
    7     4        INIT_FCALL                                                   'preg_quote'
          5        SEND_VAL                                                     'throws'
          6        SEND_VAL                                                     null
          7        DO_ICALL                                             $1      
          8        ECHO                                                         $1
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
167.34 ms | 3301 KiB | 14 Q