3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '{ "188762891137056769": { "message": "\n**- Weekley Update -**\nAnother great week at our side! \nWe have made enournous advances in synching with the raspberry pi *(the computer we are going to host from)* and are closer than ever to our promised release\n\nWe have also been fixing on the mute commands and are very close to making it work, aswell with unmute command.language feature is closing \nup on complete and about 70% of the bot has the language system working. We also made a new system that should be easier to use for bouth \nus devs and the translators.\n\n**All thats left for the release atm is:**\n-finishing synching \n-fixing the mute command and unmute command \n-make a functioning permissonlevel system\n-adding those last 30% of the bot that does not have the translationsystem in place. \n\nand the bot will have its huge release! *(about time if you asked me)*" } }'; $array = json_decode($string,1); $message = $array['188762891137056769']['message']; $re = '/\*\*(.*?)\*\*/m'; $subst = '<strong>$1</strong>'; echo preg_replace($re, $subst, $message); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ovhGq
function name:  (null)
number of ops:  18
compiled vars:  !0 = $string, !1 = $array, !2 = $message, !3 = $re, !4 = $subst
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%7B%0A%22188762891137056769%22%3A+%7B%0A%22message%22%3A+%22%5Cn%2A%2A-+Weekley+Update+-%2A%2A%5CnAnother+great+week+at+our+side%21+%5CnWe+have+made+enournous+advances+in+synching+with+the+raspberry+pi+%2A%28the+computer+we+are+going+to+host+from%29%2A+and+are+closer+than+ever+to+our+promised+release%5Cn%5CnWe+have+also+been+fixing+on+the+mute+commands+and+are+very+close+to+making+it+work%2C+aswell+with+unmute+command.language+feature+is+closing+%5Cnup+on+complete+and+about+70%25+of+the+bot+has+the+language+system+working.+We+also+made+a+new+system+that+should+be+easier+to+use+for+bouth+%5Cnus+devs+and+the+translators.%5Cn%5Cn%2A%2AAll+thats+left+for+the+release+atm+is%3A%2A%2A%5Cn-finishing+synching+%5Cn-fixing+the+mute+command+and+unmute+command+%5Cn-make+a+functioning+permissonlevel+system%5Cn-adding+those+last+30%25+of+the+bot+that+does+not+have+the+translationsystem+in+place.+%5Cn%5Cnand+the+bot+will+have+its+huge+release%21+%2A%28about+time+if+you+asked+me%29%2A%22%0A%7D%0A%7D'
    7     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 1
          4        DO_ICALL                                         $6      
          5        ASSIGN                                                   !1, $6
    8     6        FETCH_DIM_R                                      ~8      !1, 188762891137056769
          7        FETCH_DIM_R                                      ~9      ~8, 'message'
          8        ASSIGN                                                   !2, ~9
    9     9        ASSIGN                                                   !3, '%2F%5C%2A%5C%2A%28.%2A%3F%29%5C%2A%5C%2A%2Fm'
   10    10        ASSIGN                                                   !4, '%3Cstrong%3E%241%3C%2Fstrong%3E'
   11    11        INIT_FCALL                                               'preg_replace'
         12        SEND_VAR                                                 !3
         13        SEND_VAR                                                 !4
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                         $13     
         16        ECHO                                                     $13
   12    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.64 ms | 1400 KiB | 17 Q