3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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)));
based on trhZ2
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
bool(false) string(14) "Att betala 500" bool(false)