title: Ratchet server instantiation: "Unsupported declare 'strict_types'"
body: <p>I have a Ratchet application running smoothly in my windows local machine with <code>PHP version: 7.1.8</code>.</p>
  
  <p>I tried to install zmq and php binding on linux deployment server with <code>PHP version 5.5.9</code> and <code>zmq installed version : 4.0.4</code>.</p>
  
  <p>Here's the error I get when I try to instantiate server script on server:</p>
  
  <pre><code>org@ktm /var/www/html/project_dir (pusher)$ php index.php "/report-test"
  
  PHP Warning:  Unsupported declare 'strict_types' in /var/www/html/Test_Gbd_Portal/gbdportal-new/vendor/evenement/evenement/src/Evenement/EventEmitter.php on line 1
  PHP Warning:  Unsupported declare 'strict_types' in /var/www/html/Test_Gbd_Portal/gbdportal-new/vendor/evenement/evenement/src/Evenement/EventEmitterInterface.php on line 1
  PHP Warning:  Unsupported declare 'strict_types' in /var/www/html/Test_Gbd_Portal/gbdportal-new/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php on line 1
  PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /var/www/html/Test_Gbd_Portal/gbdportal-new/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php on line 93
  HTTP Fatal error: syntax error, unexpected ':', expecting ';' or '{' (GET /report-test)
  &lt;!DOCTYPE html&gt;
  </code></pre>
  
  <p>Here's a part of <code>composer.json file</code>:</p>
  
  <pre><code>"require": {
  "phpmailer/phpmailer": "5.2.9",
  "phpoffice/phpexcel": "1.8.0",
  "raveren/kint":"1.0.x-dev",
  "jaspersoft/rest-client": "dev-master",
  "cboden/ratchet": "dev-master",
  "react/zmq": "dev-master"
  },
  </code></pre>
  
  <p>"minimum-stability": "dev"</p>
  
  <p>And <code>composer.lock</code>:</p>
  
  <pre><code>"name": "react/zmq",
          "version": "dev-master",
          "source": {
              "type": "git",
              "url": "https://github.com/friends-of-reactphp/zmq.git",
              "reference": "13dec0bd2397adcc5d6aa54c8d7f0982fba66f39"
          },
          "dist": {
              "type": "zip",
              "url": "https://api.github.com/repos/friends-of-reactphp/zmq/zipball/13dec0bd2397adcc5d6aa54c8d7f0982fba66f39",
              "reference": "13dec0bd2397adcc5d6aa54c8d7f0982fba66f39",
              "shasum": ""
          },
          "require": {
              "evenement/evenement": "^3.0 || ^2.0",
              "ext-zmq": "*",
              "php": "&gt;=5.4.0",
              "react/event-loop": "^1.0 || ^0.5 || ^0.4"
          },
          "require-dev": {
              "ext-pcntl": "*",
              "phpunit/phpunit": "~4.8.35 || ~5.7 || ~6.4"
          },
          "type": "library",
          "autoload": {
              "psr-4": {
                  "React\\ZMQ\\": "src"
              }
          },
  </code></pre>
  
  <p>In these files are where the problem seems to be:</p>
  
  <pre><code>vendor/.../src/Evenement\:
  &lt;?php declare(strict_types=1);
  
  namespace Evenement;
  
  class EventEmitter implements EventEmitterInterface
  {
      use EventEmitterTrait;
  }
  </code></pre>
  
  <p>and similar with other two files contain this: <code>declare(strict_types=1)</code>.</p>
  
  <p>PHP version seems to be okay with <code>eventement/eventement</code> package since</p>
  
  <pre><code>"require": {
              "evenement/evenement": "^3.0 || ^2.0",
              "ext-zmq": "*",
              "php": "&gt;=5.4.0",
              "react/event-loop": "^1.0 || ^0.5 || ^0.4"
          },
  </code></pre>
  
  <p>it is supposed to work on <code>php &gt;=5.4.0</code> and we have <code>php5.5.9</code> on server.</p>
  
  <p>I cannot figure out what the problem is. </p>