3v4l.org

run code in 300+ PHP versions simultaneously
<?php $domainPrice = 500; $lastColumn = 'Att betala 500,00SEK'; $lastColumn = str_replace(',00SEK', '', $lastColumn); var_dump(strstr($lastColumn, $domainPrice)); var_dump(strstr($lastColumn, 'Att betala')); var_dump((strstr($lastColumn, 'Att betala') && strpos($lastColumn, $domainPrice)));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 28, Position 2 = 33
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 33
filename:       /in/Lvkhs
function name:  (null)
number of ops:  36
compiled vars:  !0 = $domainPrice, !1 = $lastColumn
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 500
    5     1        ASSIGN                                                   !1, 'Att+betala+500%2C00SEK'
    6     2        INIT_FCALL                                               'str_replace'
          3        SEND_VAL                                                 '%2C00SEK'
          4        SEND_VAL                                                 ''
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    7     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'strstr'
         10        SEND_VAR                                                 !1
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $6      
         13        SEND_VAR                                                 $6
         14        DO_ICALL                                                 
    8    15        INIT_FCALL                                               'var_dump'
         16        INIT_FCALL                                               'strstr'
         17        SEND_VAR                                                 !1
         18        SEND_VAL                                                 'Att+betala'
         19        DO_ICALL                                         $8      
         20        SEND_VAR                                                 $8
         21        DO_ICALL                                                 
    9    22        INIT_FCALL                                               'var_dump'
         23        INIT_FCALL                                               'strstr'
         24        SEND_VAR                                                 !1
         25        SEND_VAL                                                 'Att+betala'
         26        DO_ICALL                                         $10     
         27      > JMPZ_EX                                          ~11     $10, ->33
         28    >   INIT_FCALL                                               'strpos'
         29        SEND_VAR                                                 !1
         30        SEND_VAR                                                 !0
         31        DO_ICALL                                         $12     
         32        BOOL                                             ~11     $12
         33    >   SEND_VAL                                                 ~11
         34        DO_ICALL                                                 
         35      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.13 ms | 1396 KiB | 21 Q