3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ua = "Mozilla\\/5.0 (Linux; Android 6.0; HTC Desire 10 pro Build\\/MRA58K; wv) AppleWebKit\\/537.36 (KHTML, like Gecko) Version\\/4.0 Chrome\\/104.0.5112.97 Mobile Safari\\/537.36 Instagram 278.0.0.22.117 Android (23\\/6.0; 480dpi; 1080x1920; HTC\\/htc; HTC Desire 10 pro; htc_a56dj_pro_dugl; mt6755; en_US; 471827231)"; $ua = str_replace('\\/', '/',$ua); echo $ua;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/u4vLJ
function name:  (null)
number of ops:  9
compiled vars:  !0 = $ua
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'Mozilla%5C%2F5.0+%28Linux%3B+Android+6.0%3B+HTC+Desire+10+pro+Build%5C%2FMRA58K%3B+wv%29+AppleWebKit%5C%2F537.36+%28KHTML%2C+like+Gecko%29+Version%5C%2F4.0+Chrome%5C%2F104.0.5112.97+Mobile+Safari%5C%2F537.36+Instagram+278.0.0.22.117+Android+%2823%5C%2F6.0%3B+480dpi%3B+1080x1920%3B+HTC%5C%2Fhtc%3B+HTC+Desire+10+pro%3B+htc_a56dj_pro_dugl%3B+mt6755%3B+en_US%3B+471827231%29'
    5     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 '%5C%2F'
          3        SEND_VAL                                                 '%2F'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    6     7        ECHO                                                     !0
    7     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.66 ms | 1424 KiB | 14 Q