3v4l.org

run code in 300+ PHP versions simultaneously
<?php $message = "Apakah ada cara yang lebih cepat untuk mendapat 10 kata pertama selain cara di bawah."; print_r(preg_split('/(?<=[\s,])/', $message, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vrOTQ
function name:  (null)
number of ops:  11
compiled vars:  !0 = $message
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Apakah+ada+cara+yang+lebih+cepat+untuk+mendapat+10+kata+pertama+selain+cara+di+bawah.'
    4     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'preg_split'
          3        SEND_VAL                                                 '%2F%28%3F%3C%3D%5B%5Cs%2C%5D%29%2F'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 -1
          6        SEND_VAL                                                 3
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.91 ms | 1394 KiB | 17 Q