3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $domainPrice = 500; $lastColumn = 'Att betala 500,00SEK'; $lastColumn = str_replace(',00SEK', ''); var_dump(strpos($lastColumn, $domainPrice)); var_dump(strstr($lastColumn, 'Att betala')); var_dump((strstr($lastColumn, 'Att betala') && strpos($lastColumn, $domainPrice)));
based on Sg35I
Output for 5.3.0 - 7.1.0
Warning: str_replace() expects at least 3 parameters, 2 given in /in/OL4dF on line 6 bool(false) bool(false) bool(false)
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for str_replace() in /in/OL4dF on line 6 bool(false) bool(false) bool(false)