<?php
include('vendor/autoload.php');

use TddFizzBuzz\FizzBuzzBang;

$fizzer = new FizzBuzzBang();

foreach(range(1,5000) as $num) {
    $message = $fizzer->run($num);
    if ('BangBangBang' === $message) {
        echo "{$message}!" . PHP_EOL;
        exit;
    }
    echo "$message ";
}

<?php
include('vendor/autoload.php');

use TddFizzBuzz\FizzBuzzBang;

$fizzer = new FizzBuzzBang();

foreach(range(1,5000) as $num) {
    $message = $fizzer->run($num);
    echo "$message ";
    if ('BangBangBangBang' === $message) {
        echo '!' . PHP_EOL;
        exit;
    }
}

--- 
+++ 
@@ -7,9 +7,9 @@
 
 foreach(range(1,5000) as $num) {
     $message = $fizzer->run($num);
-    echo "$message ";
-    if ('BangBangBangBang' === $message) {
-        echo '!' . PHP_EOL;
+    if ('BangBangBang' === $message) {
+        echo "{$message}!" . PHP_EOL;
         exit;
     }
+    echo "$message ";
 }
Reduce string check to 'BangBangBang' because it sounds better than 4 bangs.
