3v4l.org

run code in 300+ PHP versions simultaneously
<?php $emailrepeat = 'test'; $email_clean = 'test'; if(strcasecmp($emailrepeat, $email_clean) != 0){ //WILL RETURN THAT BOTH STRINGS MATCH array_push($errorMessages,'Your emails did not match'); } if(strcasecmp($email_clean, $emailrepeat) != 0){ //WILL RETURN THAT BOTH STRINGS DONT MATCH array_push($errorMessages,'Your emails did not match'); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 12
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 22
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
Branch analysis from position: 12
filename:       /in/3lULL
function name:  (null)
number of ops:  23
compiled vars:  !0 = $emailrepeat, !1 = $email_clean, !2 = $errorMessages
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'test'
    4     1        ASSIGN                                                   !1, 'test'
    6     2        INIT_FCALL                                               'strcasecmp'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $5      
          6        IS_NOT_EQUAL                                             $5, 0
          7      > JMPZ                                                     ~6, ->12
    8     8    >   INIT_FCALL                                               'array_push'
          9        SEND_REF                                                 !2
         10        SEND_VAL                                                 'Your+emails+did+not+match'
         11        DO_ICALL                                                 
   11    12    >   INIT_FCALL                                               'strcasecmp'
         13        SEND_VAR                                                 !1
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $8      
         16        IS_NOT_EQUAL                                             $8, 0
         17      > JMPZ                                                     ~9, ->22
   13    18    >   INIT_FCALL                                               'array_push'
         19        SEND_REF                                                 !2
         20        SEND_VAL                                                 'Your+emails+did+not+match'
         21        DO_ICALL                                                 
   14    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.75 ms | 1395 KiB | 17 Q