3v4l.org

run code in 500+ PHP versions simultaneously
<?php echo json_encode(["M-am întîlnit ieri cu","fosta mea profă de matematică"]), PHP_EOL; echo json_encode(["M-am întîlnit ieri cu","fosta mea profă de matematică"], JSON_UNESCAPED_UNICODE), PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WH4kH
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'json_encode'
          1        SEND_VAL                                                     <array>
          2        DO_ICALL                                             $0      
          3        ECHO                                                         $0
          4        ECHO                                                         '%0A'
    4     5        INIT_FCALL                                                   'json_encode'
          6        SEND_VAL                                                     <array>
          7        SEND_VAL                                                     256
          8        DO_ICALL                                             $1      
          9        ECHO                                                         $1
         10        ECHO                                                         '%0A'
    5    11      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
213.96 ms | 1878 KiB | 14 Q