3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "accept add admire admit advise afford agree alert allow amuse analyse announce annoy answer apologise appear applaud appreciate approve argue arrange arrest arrive ask attach attack attempt attend attract avoid"; $string = preg_replace("/\s/", ",", $string); echo $string;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DW1Oc
function name:  (null)
number of ops:  9
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'accept%0Aadd%0Aadmire%0Aadmit%0Aadvise%0Aafford%0Aagree%0Aalert%0Aallow%0Aamuse%0Aanalyse%0Aannounce%0Aannoy%0Aanswer%0Aapologise%0Aappear%0Aapplaud%0Aappreciate%0Aapprove%0Aargue%0Aarrange%0Aarrest%0Aarrive%0Aask%0Aattach%0Aattack%0Aattempt%0Aattend%0Aattract%0Aavoid'
   33     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5Cs%2F'
          3        SEND_VAL                                                 '%2C'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
   34     7        ECHO                                                     !0
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.29 ms | 1394 KiB | 15 Q