3v4l.org

run code in 300+ PHP versions simultaneously
<?php $article['ActionPrice1'] = '7.95'; $test = isset($article['ActionPrice1']) && $article['ActionPrice1'] > 0.0000 ? floatval($article['ActionPrice1']) : null var_dump($test);
Output for 5.6.38, 7.1.0 - 7.1.22, 7.2.0 - 7.2.10
Parse error: syntax error, unexpected 'var_dump' (T_STRING) in /in/WeZu2 on line 7
Process exited with code 255.

preferences:
173.38 ms | 1395 KiB | 42 Q