3v4l.org

run code in 300+ PHP versions simultaneously
<?php $keyword_reports_data['interne'] = [ 'Google.ca - Canada' => [], 'Google.com - USA' => [] ]; foreach ($keyword_reports_data['interne'] as $key => $value) { if (strpos($key, 'Google.ca') === 0) { echo "hi " ;exit; } else { echo "not exist ";exit; } }

preferences:
33.46 ms | 404 KiB | 5 Q