3v4l.org

run code in 300+ PHP versions simultaneously
<?php $variable= "'Body;Style'=>'SEDAN;4 DOOR';'CD Player'=>'PRESENT';'Color'=>'GRAY';'Engine Size'=>'3.0L V6 FI F';'Air Bags'=>'4';'Radio'=>'PRESENT';'Tape Deck'=>'N/A';'Estimated Repair Cost'=>'5518';'ACV'=>'6122';'Driver Airbag'=>'INTACT';'Passenger Airbag'=>'INTACT';'Left Side Airbag'=>'INTACT';'Right Side Airbag'=>'INTACT';'VIN Status'=>'OK';'Interior Color'=>'GRAY';'Airbag'=>'INTACT';'KeyFob'=>'PRESENT';"; if (preg_match_all("/'(.*?)'=>'(.*?)';/", $variable, $matches)) { $result = array_combine($matches[1], $matches[2]); print_r($result); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 17
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/YuuZM
function name:  (null)
number of ops:  18
compiled vars:  !0 = $variable, !1 = $matches, !2 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%27Body%3BStyle%27%3D%3E%27SEDAN%3B4+DOOR%27%3B%27CD+Player%27%3D%3E%27PRESENT%27%3B%27Color%27%3D%3E%27GRAY%27%3B%27Engine+Size%27%3D%3E%273.0L+V6+FI++F%27%3B%27Air+Bags%27%3D%3E%274%27%3B%27Radio%27%3D%3E%27PRESENT%27%3B%27Tape+Deck%27%3D%3E%27N%2FA%27%3B%27Estimated+Repair+Cost%27%3D%3E%275518%27%3B%27ACV%27%3D%3E%276122%27%3B%27Driver+Airbag%27%3D%3E%27INTACT%27%3B%27Passenger+Airbag%27%3D%3E%27INTACT%27%3B%27Left+Side+Airbag%27%3D%3E%27INTACT%27%3B%27Right+Side+Airbag%27%3D%3E%27INTACT%27%3B%27VIN+Status%27%3D%3E%27OK%27%3B%27Interior+Color%27%3D%3E%27GRAY%27%3B%27Airbag%27%3D%3E%27INTACT%27%3B%27KeyFob%27%3D%3E%27PRESENT%27%3B'
    5     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%27%28.%2A%3F%29%27%3D%3E%27%28.%2A%3F%29%27%3B%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                         $4      
          6      > JMPZ                                                     $4, ->17
    6     7    >   INIT_FCALL                                               'array_combine'
          8        FETCH_DIM_R                                      ~5      !1, 1
          9        SEND_VAL                                                 ~5
         10        FETCH_DIM_R                                      ~6      !1, 2
         11        SEND_VAL                                                 ~6
         12        DO_ICALL                                         $7      
         13        ASSIGN                                                   !2, $7
    7    14        INIT_FCALL                                               'print_r'
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                                 
    8    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
125.59 ms | 1400 KiB | 19 Q