3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_replace("#(\p{P}|\p{C}|\p{S}|\p{Z})+#u", "_", "ollá hellos world");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QrpOk
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%23%28%5Cp%7BP%7D%7C%5Cp%7BC%7D%7C%5Cp%7BS%7D%7C%5Cp%7BZ%7D%29%2B%23u'
          2        SEND_VAL                                                 '_'
          3        SEND_VAL                                                 'oll%C3%A1+hellos+world'
          4        DO_ICALL                                         $0      
          5        ECHO                                                     $0
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.52 ms | 1394 KiB | 15 Q