3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); echo 'Testing on PHP version ' . PHP_VERSION . PHP_EOL . PHP_EOL; echo 'Checking if "__DIR__" is defined.' . PHP_EOL; if (!defined('__DIR__')) { echo 'No, "__DIR__" is not defined. Defining it now.' . PHP_EOL; define('__DIR__', 'bar'); echo 'Checking again if "__DIR__" is defined.' . PHP_EOL; if (!defined('__DIR__')) { echo 'Damn! *Seems like* "__DIR__" is still not defined.' . PHP_EOL; } else{ echo 'Strike, "__DIR__" is defined now.' . PHP_EOL; } echo 'Anyway, here is what `var_dump(__DIR__)` returns:' . PHP_EOL; var_dump(__DIR__); } else{ echo 'Yep, "__DIR__" is defined.' . PHP_EOL; }
Output for 7.1.0
Testing on PHP version 7.1.0 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 7.0.14
Testing on PHP version 7.0.14 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 7.0.6
Testing on PHP version 7.0.6 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 7.0.5
Testing on PHP version 7.0.5 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 7.0.4
Testing on PHP version 7.0.4 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 7.0.3
Testing on PHP version 7.0.3 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 7.0.2
Testing on PHP version 7.0.2 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 7.0.1
Testing on PHP version 7.0.1 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 7.0.0
Testing on PHP version 7.0.0 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for hhvm-3.12.0
Testing on PHP version 5.6.99-hhvm Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
Testing on PHP version 5.6.28 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.6.21
Testing on PHP version 5.6.21 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.6.20
Testing on PHP version 5.6.20 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.6.19
Testing on PHP version 5.6.19 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.6.18
Testing on PHP version 5.6.18 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.6.17
Testing on PHP version 5.6.17 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.6.16
Testing on PHP version 5.6.16 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.6.15
Testing on PHP version 5.6.15 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.6.14
Testing on PHP version 5.6.14 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.6.13
Testing on PHP version 5.6.13 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.6.12
Testing on PHP version 5.6.12 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.6.11
Testing on PHP version 5.6.11 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.6.10
Testing on PHP version 5.6.10 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.6.9
Testing on PHP version 5.6.9 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.6.8
Testing on PHP version 5.6.8 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.6.7
Testing on PHP version 5.6.7 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.5.35
Testing on PHP version 5.5.35 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.5.34
Testing on PHP version 5.5.34 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.5.33
Testing on PHP version 5.5.33 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.5.32
Testing on PHP version 5.5.32 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.5.31
Testing on PHP version 5.5.31 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.5.30
Testing on PHP version 5.5.30 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.5.29
Testing on PHP version 5.5.29 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.5.28
Testing on PHP version 5.5.28 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.5.27
Testing on PHP version 5.5.27 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.5.26
Testing on PHP version 5.5.26 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.5.25
Testing on PHP version 5.5.25 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.5.24
Testing on PHP version 5.5.24 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.45
Testing on PHP version 5.4.45 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.44
Testing on PHP version 5.4.44 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.43
Testing on PHP version 5.4.43 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.42
Testing on PHP version 5.4.42 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.41
Testing on PHP version 5.4.41 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.40
Testing on PHP version 5.4.40 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.39
Testing on PHP version 5.4.39 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.38
Testing on PHP version 5.4.38 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.37
Testing on PHP version 5.4.37 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.36
Testing on PHP version 5.4.36 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.35
Testing on PHP version 5.4.35 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.34
Testing on PHP version 5.4.34 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.32
Testing on PHP version 5.4.32 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.31
Testing on PHP version 5.4.31 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.30
Testing on PHP version 5.4.30 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.29
Testing on PHP version 5.4.29 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.28
Testing on PHP version 5.4.28 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.27
Testing on PHP version 5.4.27 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.26
Testing on PHP version 5.4.26 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.25
Testing on PHP version 5.4.25 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.24
Testing on PHP version 5.4.24 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.23
Testing on PHP version 5.4.23 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.22
Testing on PHP version 5.4.22 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.21
Testing on PHP version 5.4.21 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.20
Testing on PHP version 5.4.20 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.19
Testing on PHP version 5.4.19 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.18
Testing on PHP version 5.4.18 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.17
Testing on PHP version 5.4.17 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.16
Testing on PHP version 5.4.16 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.15
Testing on PHP version 5.4.15 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.14
Testing on PHP version 5.4.14 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.13
Testing on PHP version 5.4.13 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.12
Testing on PHP version 5.4.12 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.11
Testing on PHP version 5.4.11 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.10
Testing on PHP version 5.4.10 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.9
Testing on PHP version 5.4.9 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.8
Testing on PHP version 5.4.8 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.7
Testing on PHP version 5.4.7 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.6
Testing on PHP version 5.4.6 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.5
Testing on PHP version 5.4.5 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.4
Testing on PHP version 5.4.4 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.3
Testing on PHP version 5.4.3 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.2
Testing on PHP version 5.4.2 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.1
Testing on PHP version 5.4.1 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.4.0
Testing on PHP version 5.4.0 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.29
Testing on PHP version 5.3.29 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.28
Testing on PHP version 5.3.28 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.27
Testing on PHP version 5.3.27 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.26
Testing on PHP version 5.3.26 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.25
Testing on PHP version 5.3.25 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.24
Testing on PHP version 5.3.24 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.23
Testing on PHP version 5.3.23 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.22
Testing on PHP version 5.3.22 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.21
Testing on PHP version 5.3.21 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.20
Testing on PHP version 5.3.20 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.19
Testing on PHP version 5.3.19 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.18
Testing on PHP version 5.3.18 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.17
Testing on PHP version 5.3.17 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.16
Testing on PHP version 5.3.16 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.15
Testing on PHP version 5.3.15 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.14
Testing on PHP version 5.3.14 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.13
Testing on PHP version 5.3.13 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.12
Testing on PHP version 5.3.12 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.11
Testing on PHP version 5.3.11 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.10
Testing on PHP version 5.3.10 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.9
Testing on PHP version 5.3.9 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.8
Testing on PHP version 5.3.8 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.7
Testing on PHP version 5.3.7 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.6
Testing on PHP version 5.3.6 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.5
Testing on PHP version 5.3.5 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.4
Testing on PHP version 5.3.4 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.3
Testing on PHP version 5.3.3 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.2
Testing on PHP version 5.3.2 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.1
Testing on PHP version 5.3.1 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.3.0
Testing on PHP version 5.3.0 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "/in"
Output for 5.2.17
Testing on PHP version 5.2.17 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.2.16
Testing on PHP version 5.2.16 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.2.15
Testing on PHP version 5.2.15 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.2.14
Testing on PHP version 5.2.14 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.2.13
Testing on PHP version 5.2.13 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.2.12
Testing on PHP version 5.2.12 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.2.11
Testing on PHP version 5.2.11 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.2.10
Testing on PHP version 5.2.10 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.2.9
Testing on PHP version 5.2.9 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.2.8
Testing on PHP version 5.2.8 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.2.7
Testing on PHP version 5.2.7 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.2.6
Testing on PHP version 5.2.6 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.2.5
Testing on PHP version 5.2.5 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.2.4
Testing on PHP version 5.2.4 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.2.3
Testing on PHP version 5.2.3 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.2.2
Testing on PHP version 5.2.2 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.2.1
Testing on PHP version 5.2.1 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.2.0
Testing on PHP version 5.2.0 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.1.6
Testing on PHP version 5.1.6 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.1.5
Testing on PHP version 5.1.5 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.1.4
Testing on PHP version 5.1.4 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.1.3
Testing on PHP version 5.1.3 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.1.2
Testing on PHP version 5.1.2 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.1.1
Testing on PHP version 5.1.1 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.1.0
Testing on PHP version 5.1.0 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.0.5
Testing on PHP version 5.0.5 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.0.4
Testing on PHP version 5.0.4 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.0.3
Testing on PHP version 5.0.3 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.0.2
Testing on PHP version 5.0.2 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Testing on PHP version 5.0.1PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 5 Checking if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 7 No, "__DIR__" is not defined. Defining it now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 10 Checking again if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 14 Strike, "__DIR__" is defined now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 17 Anyway, here is what `var_dump(__DIR__)` returns:PHP_EOLstring(3) "bar"
Output for 5.0.0
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Testing on PHP version 5.0.0PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 5 Checking if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 7 No, "__DIR__" is not defined. Defining it now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 10 Checking again if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 14 Strike, "__DIR__" is defined now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 17 Anyway, here is what `var_dump(__DIR__)` returns:PHP_EOLstring(3) "bar"
Output for 4.4.9
Testing on PHP version 4.4.9 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 4.4.8
Testing on PHP version 4.4.8 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 4.4.7
Testing on PHP version 4.4.7 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 4.4.6
Testing on PHP version 4.4.6 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 4.4.5
Testing on PHP version 4.4.5 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 4.4.4
Testing on PHP version 4.4.4 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 4.4.3
Testing on PHP version 4.4.3 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 4.4.2
Testing on PHP version 4.4.2 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 4.4.1
Testing on PHP version 4.4.1 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 4.4.0
Testing on PHP version 4.4.0 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 4.3.11
Testing on PHP version 4.3.11 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 4.3.10
Testing on PHP version 4.3.10 Checking if "__DIR__" is defined. No, "__DIR__" is not defined. Defining it now. Checking again if "__DIR__" is defined. Strike, "__DIR__" is defined now. Anyway, here is what `var_dump(__DIR__)` returns: string(3) "bar"
Output for 4.3.9
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Testing on PHP version 4.3.9PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 5 Checking if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 7 No, "__DIR__" is not defined. Defining it now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 10 Checking again if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 14 Strike, "__DIR__" is defined now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 17 Anyway, here is what `var_dump(__DIR__)` returns:PHP_EOLstring(3) "bar"
Output for 4.3.8
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Testing on PHP version 4.3.8PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 5 Checking if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 7 No, "__DIR__" is not defined. Defining it now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 10 Checking again if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 14 Strike, "__DIR__" is defined now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 17 Anyway, here is what `var_dump(__DIR__)` returns:PHP_EOLstring(3) "bar"
Output for 4.3.7
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Testing on PHP version 4.3.7PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 5 Checking if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 7 No, "__DIR__" is not defined. Defining it now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 10 Checking again if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 14 Strike, "__DIR__" is defined now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 17 Anyway, here is what `var_dump(__DIR__)` returns:PHP_EOLstring(3) "bar"
Output for 4.3.6
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Testing on PHP version 4.3.6PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 5 Checking if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 7 No, "__DIR__" is not defined. Defining it now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 10 Checking again if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 14 Strike, "__DIR__" is defined now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 17 Anyway, here is what `var_dump(__DIR__)` returns:PHP_EOLstring(3) "bar"
Output for 4.3.5
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Testing on PHP version 4.3.5PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 5 Checking if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 7 No, "__DIR__" is not defined. Defining it now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 10 Checking again if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 14 Strike, "__DIR__" is defined now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 17 Anyway, here is what `var_dump(__DIR__)` returns:PHP_EOLstring(3) "bar"
Output for 4.3.4
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Testing on PHP version 4.3.4PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 5 Checking if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 7 No, "__DIR__" is not defined. Defining it now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 10 Checking again if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 14 Strike, "__DIR__" is defined now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 17 Anyway, here is what `var_dump(__DIR__)` returns:PHP_EOLstring(3) "bar"
Output for 4.3.3
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Testing on PHP version 4.3.3PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 5 Checking if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 7 No, "__DIR__" is not defined. Defining it now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 10 Checking again if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 14 Strike, "__DIR__" is defined now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 17 Anyway, here is what `var_dump(__DIR__)` returns:PHP_EOLstring(3) "bar"
Output for 4.3.2
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Testing on PHP version 4.3.2PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 5 Checking if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 7 No, "__DIR__" is not defined. Defining it now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 10 Checking again if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 14 Strike, "__DIR__" is defined now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 17 Anyway, here is what `var_dump(__DIR__)` returns:PHP_EOLstring(3) "bar"
Output for 4.3.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 4 Testing on PHP version 4.3.1PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 5 Checking if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 7 No, "__DIR__" is not defined. Defining it now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 10 Checking again if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 14 Strike, "__DIR__" is defined now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/6kEOd on line 17 Anyway, here is what `var_dump(__DIR__)` returns:PHP_EOLstring(3) "bar"
Output for 4.3.0
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/C7RSg on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/C7RSg on line 4 Testing on PHP version 4.3.0PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/C7RSg on line 5 Checking if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/C7RSg on line 7 No, "__DIR__" is not defined. Defining it now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/C7RSg on line 10 Checking again if "__DIR__" is defined.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/C7RSg on line 14 Strike, "__DIR__" is defined now.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/C7RSg on line 17 Anyway, here is what `var_dump(__DIR__)` returns:PHP_EOLstring(3) "bar"