3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $jsinfo = '6.1 Generic JavaScript support:1 6.2 Support for no script tag:1 6.3 JavaScript build:0 6.4 JavaScript defer support:1 6.5 JavaScript v1.1 support:1 6.6 JavaScript v1.2 support:1 6.7 JavaScript v1.3 support:1 6.8 JavaScript v1.4 support:1 6.9 JavaScript v1.5 support:1 6.10 JavaScript v1.6 support:0 6.11 JavaScript v1.7 support:0 6.12 JavaScript v1.8 support:0 6.13 JavaScript v1.9 support:0 6.14 JavaScript v2.0 support:0 6.15 Data tainting support:0 6.16 Encoded JScript support:0 6.17 JScript support:0 6.18 External JavaScript support1'; if ( strpos($jsinfo,"javascript : 1") === false && strpos($jsinfo,"JavaScript support:1") === false ) { echo 'STRING NOT PRESENT'; }
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0