ResourceLoaderImageModule: Improve PHP 5.3 compatibility
authorBartosz Dziewoński <matma.rex@gmail.com>
Sun, 29 Mar 2015 16:29:41 +0000 (18:29 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sun, 29 Mar 2015 16:29:41 +0000 (18:29 +0200)
commit5042d260ce5190cce0c325b7cb5b618b3cff73bc
tree17535460bf76dc432b16bcb616df2446c2e39ac7
parentb8c6b41a5017915e33ff3499e332271cda90bf4a
ResourceLoaderImageModule: Improve PHP 5.3 compatibility

In PHP 5.3.x and older, the isset() check in code example below will
yield true. In PHP 5.4 and later, and HHVM, it will correctly yield
false. http://3v4l.org/8p3hm

  $options = 'foo';
  isset( $options['bar'] );

Let's not depend on this behavior here.

Change-Id: I67e83af8afe85b3ddfb5db0009759b8ac5bb7d67
includes/resourceloader/ResourceLoaderImageModule.php