3v4l.org

run code in 300+ PHP versions simultaneously
<?php $names='toto, jean, dupont,de; la toureell'; echo explode(' ', trim(preg_replace('/[^A-Z]+/', ' ', $names)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GfZk4
function name:  (null)
number of ops:  15
compiled vars:  !0 = $names
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'toto%2C+jean%2C+dupont%2Cde%3B++la+toureell'
    5     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '+'
          3        INIT_FCALL                                               'trim'
          4        INIT_FCALL                                               'preg_replace'
          5        SEND_VAL                                                 '%2F%5B%5EA-Z%5D%2B%2F'
          6        SEND_VAL                                                 '+'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $2      
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
         12        DO_ICALL                                         $4      
         13        ECHO                                                     $4
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.53 ms | 1385 KiB | 19 Q