3v4l.org

run code in 300+ PHP versions simultaneously
<?php $striing = mb_convert_encoding ( "Le’Xpress" , "ISO-8859-1"); $striing = mb_convert_encoding ( "Le'Xpress 18/8 Stainless Steel Teapot 2 litre (70oz) Twelve Cup" , "ISO-8859-1"); echo json_encode($striing);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1cIu6
function name:  (null)
number of ops:  15
compiled vars:  !0 = $striing
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'mb_convert_encoding'
          1        SEND_VAL                                                 'Le%E2%80%99Xpress'
          2        SEND_VAL                                                 'ISO-8859-1'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    4     5        INIT_FCALL                                               'mb_convert_encoding'
          6        SEND_VAL                                                 'Le%27Xpress+18%2F8+Stainless+Steel+Teapot+2+litre+%2870oz%29+Twelve+Cup'
          7        SEND_VAL                                                 'ISO-8859-1'
          8        DO_ICALL                                         $3      
          9        ASSIGN                                                   !0, $3
    7    10        INIT_FCALL                                               'json_encode'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $5      
         13        ECHO                                                     $5
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.3 ms | 1394 KiB | 17 Q