3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $homepage = file_get_contents('/usr/bin/php'); echo $homepage; echo PHP_BINARY;
Output for 7.1.0
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-7.1.0
Output for 7.0.14
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-7.0.14
Output for 7.0.10
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-7.0.10
Output for 7.0.9
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-7.0.9
Output for 7.0.8
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-7.0.8
Output for 7.0.7
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-7.0.7
Output for 7.0.6
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-7.0.6
Output for 7.0.5
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-7.0.5
Output for 7.0.4
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-7.0.4
Output for 7.0.3
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-7.0.3
Output for 7.0.2
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-7.0.2
Output for 7.0.1
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-7.0.1
Output for 7.0.0
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-7.0.0
Output for hhvm-3.12.0
Warning: No such file or directory in /in/mtoCl on line 2 /usr/bin/hhvm-3.12.0
Output for hhvm-3.10.0
Warning: No such file or directory in /in/mtoCl on line 2 /usr/bin/hhvm-3.10.0
Output for 5.6.28
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.28
Output for 5.6.25
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.25
Output for 5.6.24
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.24
Output for 5.6.23
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.23
Output for 5.6.22
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.22
Output for 5.6.21
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.21
Output for 5.6.20
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.20
Output for 5.6.19
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.19
Output for 5.6.18
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.18
Output for 5.6.17
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.17
Output for 5.6.16
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.16
Output for 5.6.15
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.15
Output for 5.6.14
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.14
Output for 5.6.13
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.13
Output for 5.6.12
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.12
Output for 5.6.11
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.11
Output for 5.6.10
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.10
Output for 5.6.9
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.9
Output for 5.6.8
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.8
Output for 5.6.7
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.7
Output for 5.6.6
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.6
Output for 5.6.5
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.5
Output for 5.6.4
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.4
Output for 5.6.3
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.3
Output for 5.6.2
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.2
Output for 5.6.1
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.1
Output for 5.6.0
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.6.0
Output for 5.5.38
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.38
Output for 5.5.37
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.37
Output for 5.5.36
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.36
Output for 5.5.35
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.35
Output for 5.5.34
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.34
Output for 5.5.33
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.33
Output for 5.5.32
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.32
Output for 5.5.31
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.31
Output for 5.5.30
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.30
Output for 5.5.29
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.29
Output for 5.5.28
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.28
Output for 5.5.27
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.27
Output for 5.5.26
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.26
Output for 5.5.25
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.25
Output for 5.5.24
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.24
Output for 5.5.23
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.23
Output for 5.5.22
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.22
Output for 5.5.21
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.21
Output for 5.5.20
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.20
Output for 5.5.19
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.19
Output for 5.5.18
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.18
Output for 5.5.16
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.16
Output for 5.5.15
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.15
Output for 5.5.14
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.14
Output for 5.5.13
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.13
Output for 5.5.12
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.12
Output for 5.5.11
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.11
Output for 5.5.10
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.10
Output for 5.5.9
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.9
Output for 5.5.8
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.8
Output for 5.5.7
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.7
Output for 5.5.6
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.6
Output for 5.5.5
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.5
Output for 5.5.4
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.4
Output for 5.5.3
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.3
Output for 5.5.2
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.2
Output for 5.5.1
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.1
Output for 5.5.0
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.5.0
Output for 5.4.45
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.45
Output for 5.4.44
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.44
Output for 5.4.43
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.43
Output for 5.4.42
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.42
Output for 5.4.41
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.41
Output for 5.4.40
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.40
Output for 5.4.39
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.39
Output for 5.4.38
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.38
Output for 5.4.37
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.37
Output for 5.4.36
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.36
Output for 5.4.35
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.35
Output for 5.4.34
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.34
Output for 5.4.32
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.32
Output for 5.4.31
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.31
Output for 5.4.30
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.30
Output for 5.4.29
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.29
Output for 5.4.28
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.28
Output for 5.4.27
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.27
Output for 5.4.26
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.26
Output for 5.4.25
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.25
Output for 5.4.24
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.24
Output for 5.4.23
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.23
Output for 5.4.22
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.22
Output for 5.4.21
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.21
Output for 5.4.20
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.20
Output for 5.4.19
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.19
Output for 5.4.18
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.18
Output for 5.4.17
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.17
Output for 5.4.16
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.16
Output for 5.4.15
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.15
Output for 5.4.14
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.14
Output for 5.4.13
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.13
Output for 5.4.12
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.12
Output for 5.4.11
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.11
Output for 5.4.10
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.10
Output for 5.4.9
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.9
Output for 5.4.8
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.8
Output for 5.4.7
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.7
Output for 5.4.6
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.6
Output for 5.4.5
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.5
Output for 5.4.4
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.4
Output for 5.4.3
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.3
Output for 5.4.2
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.2
Output for 5.4.1
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.1
Output for 5.4.0
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 /usr/bin/php-5.4.0
Output for 4.3.2 - 5.3.29
Warning: file_get_contents(/usr/bin/php): failed to open stream: No such file or directory in /in/mtoCl on line 2 Notice: Use of undefined constant PHP_BINARY - assumed 'PHP_BINARY' in /in/mtoCl on line 4 PHP_BINARY
Output for 4.3.0 - 4.3.1
Warning: file_get_contents(/usr/bin/php) [http://www.php.net/function.file-get-contents]: failed to create stream: No such file or directory in /in/mtoCl on line 2 Notice: Use of undefined constant PHP_BINARY - assumed 'PHP_BINARY' in /in/mtoCl on line 4 PHP_BINARY