3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_1 = "¢"; $_2 = "💩"; var_dump(strlen($_1), strlen($_2), $_1 <=> $_2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JALXd
function name:  (null)
number of ops:  11
compiled vars:  !0 = $_1, !1 = $_2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%C2%A2'
    4     1        ASSIGN                                                   !1, '%F0%9F%92%A9'
    6     2        INIT_FCALL                                               'var_dump'
          3        STRLEN                                           ~4      !0
          4        SEND_VAL                                                 ~4
          5        STRLEN                                           ~5      !1
          6        SEND_VAL                                                 ~5
          7        SPACESHIP                                        ~6      !0, !1
          8        SEND_VAL                                                 ~6
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.1 ms | 1394 KiB | 15 Q