3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = <<<EOT {"Store":"GooglePlay","TransactionID":"GPA.3342-9814-8366-27273","Payload":"{\"json\":\"{\\\"orderId\\\":\\\"GPA.3342-9814-8366-27273\\\",\\\"packageName\\\":\\\"com.blayzegames.iosfps\\\",\\\"productId\\\":\\\"com.blayzegames.iosfps.goldtierone\\\",\\\"purchaseTime\\\":1606718938106,\\\"purchaseState\\\":0,\\\"developerPayload\\\":\\\"{\\\\\\\"developerPayload\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"is_free_trial\\\\\\\":false,\\\\\\\"has_introductory_price_trial\\\\\\\":false,\\\\\\\"is_updated\\\\\\\":false,\\\\\\\"accountId\\\\\\\":\\\\\\\"\\\\\\\"}\\\",\\\"purchaseToken\\\":\\\"PURCHASE_TOKEN\",\"skuDetails\":\"{\\\"productId\\\":\\\"com.blayzegames.iosfps.goldtierone\\\",\\\"type\\\":\\\"inapp\\\",\\\"price\\\":\\\"₹260.00\\\",\\\"price_amount_micros\\\":260000000,\\\"price_currency_code\\\":\\\"INR\\\",\\\"title\\\":\\\"500 Gold (Bullet Force)\\\",\\\"description\\\":\\\"500 in-game Gold to be used for buying other in-game things\\\",\\\"skuDetailsToken\\\":\\\"SKU\\\"}\",\"isPurchaseHistorySupported\":true}"} EOT; var_dump(json_decode($json), json_last_error_msg());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pjnh3
function name:  (null)
number of ops:  11
compiled vars:  !0 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%22Store%22%3A%22GooglePlay%22%2C%22TransactionID%22%3A%22GPA.3342-9814-8366-27273%22%2C%22Payload%22%3A%22%7B%5C%22json%5C%22%3A%5C%22%7B%5C%5C%22orderId%5C%5C%22%3A%5C%5C%22GPA.3342-9814-8366-27273%5C%5C%22%2C%5C%5C%22packageName%5C%5C%22%3A%5C%5C%22com.blayzegames.iosfps%5C%5C%22%2C%5C%5C%22productId%5C%5C%22%3A%5C%5C%22com.blayzegames.iosfps.goldtierone%5C%5C%22%2C%5C%5C%22purchaseTime%5C%5C%22%3A1606718938106%2C%5C%5C%22purchaseState%5C%5C%22%3A0%2C%5C%5C%22developerPayload%5C%5C%22%3A%5C%5C%22%7B%5C%5C%5C%5C%22developerPayload%5C%5C%5C%5C%22%3A%5C%5C%5C%5C%22%5C%5C%5C%5C%22%2C%5C%5C%5C%5C%22is_free_trial%5C%5C%5C%5C%22%3Afalse%2C%5C%5C%5C%5C%22has_introductory_price_trial%5C%5C%5C%5C%22%3Afalse%2C%5C%5C%5C%5C%22is_updated%5C%5C%5C%5C%22%3Afalse%2C%5C%5C%5C%5C%22accountId%5C%5C%5C%5C%22%3A%5C%5C%5C%5C%22%5C%5C%5C%5C%22%7D%5C%5C%22%2C%5C%5C%22purchaseToken%5C%5C%22%3A%5C%5C%22PURCHASE_TOKEN%5C%22%2C%5C%22skuDetails%5C%22%3A%5C%22%7B%5C%5C%22productId%5C%5C%22%3A%5C%5C%22com.blayzegames.iosfps.goldtierone%5C%5C%22%2C%5C%5C%22type%5C%5C%22%3A%5C%5C%22inapp%5C%5C%22%2C%5C%5C%22price%5C%5C%22%3A%5C%5C%22%E2%82%B9260.00%5C%5C%22%2C%5C%5C%22price_amount_micros%5C%5C%22%3A260000000%2C%5C%5C%22price_currency_code%5C%5C%22%3A%5C%5C%22INR%5C%5C%22%2C%5C%5C%22title%5C%5C%22%3A%5C%5C%22500+Gold+%28Bullet+Force%29%5C%5C%22%2C%5C%5C%22description%5C%5C%22%3A%5C%5C%22500+in-game+Gold+to+be+used+for+buying+other+in-game+things%5C%5C%22%2C%5C%5C%22skuDetailsToken%5C%5C%22%3A%5C%5C%22SKU%5C%5C%22%7D%5C%22%2C%5C%22isPurchaseHistorySupported%5C%22%3Atrue%7D%22%7D'
    7     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'json_decode'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        INIT_FCALL                                               'json_last_error_msg'
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.52 ms | 1395 KiB | 19 Q