3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"Confirmation":"200710035843DH4","Message":"success","Status":"success"}'; $arr = json_decode($json, true); list('Confirmation' => $conf, 'Message' => $msg, 'Status' => $status) = $arr; echo $conf . PHP_EOL; echo $msg . PHP_EOL; echo $status . PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kabA8
function name:  (null)
number of ops:  21
compiled vars:  !0 = $json, !1 = $arr, !2 = $conf, !3 = $msg, !4 = $status
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%7B%22Confirmation%22%3A%22200710035843DH4%22%2C%22Message%22%3A%22success%22%2C%22Status%22%3A%22success%22%7D'
    3     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $6      
          5        ASSIGN                                                   !1, $6
    5     6        QM_ASSIGN                                        ~8      !1
          7        FETCH_LIST_R                                     $9      ~8, 'Confirmation'
          8        ASSIGN                                                   !2, $9
          9        FETCH_LIST_R                                     $11     ~8, 'Message'
         10        ASSIGN                                                   !3, $11
         11        FETCH_LIST_R                                     $13     ~8, 'Status'
         12        ASSIGN                                                   !4, $13
         13        FREE                                                     ~8
    7    14        CONCAT                                           ~15     !2, '%0A'
         15        ECHO                                                     ~15
    8    16        CONCAT                                           ~16     !3, '%0A'
         17        ECHO                                                     ~16
    9    18        CONCAT                                           ~17     !4, '%0A'
         19        ECHO                                                     ~17
   10    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.65 ms | 944 KiB | 14 Q