3v4l.org

run code in 300+ PHP versions simultaneously
<?php //echo (int)!preg_match('/[a-z0-9:;,!\'\s*.?()"-]/im', '@3'); //проверка отсуствия разрешенных символов echo (int)!preg_match('/^[a-z0-9:;,!\'\s*.?()"-]+$/im', "aaa\nbbb\nccc"); //проверка наличия запрещенных символов
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DlBNv
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%2F%5E%5Ba-z0-9%3A%3B%2C%21%27%5Cs%2A.%3F%28%29%22-%5D%2B%24%2Fim'
          2        SEND_VAL                                                 'aaa%0Abbb%0Accc'
          3        DO_ICALL                                         $0      
          4        BOOL_NOT                                         ~1      $0
          5        CAST                                          4  ~2      ~1
          6        ECHO                                                     ~2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.75 ms | 1394 KiB | 15 Q