3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 'curl: (56) TCP connection reset by peer'; echo substr($x, 0, 7) == 'curl: (';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Eulo7
function name:  (null)
number of ops:  9
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'curl%3A+%2856%29+TCP+connection+reset+by+peer'
    3     1        INIT_FCALL                                               'substr'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 7
          5        DO_ICALL                                         $2      
          6        IS_EQUAL                                         ~3      $2, 'curl%3A+%28'
          7        ECHO                                                     ~3
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.33 ms | 1385 KiB | 15 Q