3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'Yth. ErzaPay.com (DS008206). Sal:465.670, Dlm proses:0. Pemakaian hr ini:126.885 Komisi:0 #*IDN1,IDN3 Open harga naik'; $temp = explode("Sal:",$str); $sal = explode(",", $temp[1])[0]; echo $sal;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Z6GfF
function name:  (null)
number of ops:  15
compiled vars:  !0 = $str, !1 = $temp, !2 = $sal
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Yth.+ErzaPay.com+%28DS008206%29.+Sal%3A465.670%2C+Dlm+proses%3A0.+Pemakaian+hr+ini%3A126.885+Komisi%3A0+%23%2AIDN1%2CIDN3+Open+harga+naik'
    5     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 'Sal%3A'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    6     6        INIT_FCALL                                               'explode'
          7        SEND_VAL                                                 '%2C'
          8        FETCH_DIM_R                                      ~6      !1, 1
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                         $7      
         11        FETCH_DIM_R                                      ~8      $7, 0
         12        ASSIGN                                                   !2, ~8
    8    13        ECHO                                                     !2
    9    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.48 ms | 1435 KiB | 14 Q