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; #sleep(1); echo 'Checking if __DIR__ is defined...' . PHP_EOL; if (!defined('__DIR__')) { #sleep(2); echo 'Nope, defined() returned (bool)false.' . PHP_EOL; echo 'So, seems like the magic constant __DIR__ is not defined.' . PHP_EOL . PHP_EOL; #sleep(2); echo 'No prob. Executing define(\'__DIR__\', \'/foo/bar\')...' . PHP_EOL; define('__DIR__', '/foo/bar'); #sleep(1); echo 'Done, defined __DIR__ as "/foo/bar".' . PHP_EOL . PHP_EOL; #sleep(1); echo 'Double-checking __DIR__ is defined now...' . PHP_EOL; #sleep(2); if (!defined('__DIR__')) { echo 'WTF, defined(\'__DIR__\') again returned (bool)false?!' . PHP_EOL; } else{ echo 'Strike, this time defined(\'__DIR__\') returned (bool)true.' . PHP_EOL; echo 'So, seems like __DIR__ was successfully defined. :)' . PHP_EOL . PHP_EOL; } } else{ echo 'Yep, defined(\'__DIR__\') returned (bool)true.' . PHP_EOL; echo 'The magic constant __DIR__ seems to be defined.' . PHP_EOL . PHP_EOL; } #sleep(2); echo 'Finally, here is the result of var_dump(__DIR__):' . PHP_EOL; var_dump(__DIR__);
Output for 7.1.0
Testing on PHP version 7.1.0 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 7.0.14
Testing on PHP version 7.0.14 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 7.0.10
Testing on PHP version 7.0.10 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 7.0.9
Testing on PHP version 7.0.9 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 7.0.8
Testing on PHP version 7.0.8 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 7.0.7
Testing on PHP version 7.0.7 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 7.0.6
Testing on PHP version 7.0.6 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 7.0.5
Testing on PHP version 7.0.5 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 7.0.4
Testing on PHP version 7.0.4 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 7.0.3
Testing on PHP version 7.0.3 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 7.0.2
Testing on PHP version 7.0.2 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 7.0.1
Testing on PHP version 7.0.1 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 7.0.0
Testing on PHP version 7.0.0 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.28
Testing on PHP version 5.6.28 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.25
Testing on PHP version 5.6.25 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.24
Testing on PHP version 5.6.24 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.23
Testing on PHP version 5.6.23 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.22
Testing on PHP version 5.6.22 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.21
Testing on PHP version 5.6.21 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.20
Testing on PHP version 5.6.20 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.19
Testing on PHP version 5.6.19 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.18
Testing on PHP version 5.6.18 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.17
Testing on PHP version 5.6.17 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.16
Testing on PHP version 5.6.16 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.15
Testing on PHP version 5.6.15 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.14
Testing on PHP version 5.6.14 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.13
Testing on PHP version 5.6.13 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.12
Testing on PHP version 5.6.12 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.11
Testing on PHP version 5.6.11 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.10
Testing on PHP version 5.6.10 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.9
Testing on PHP version 5.6.9 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.8
Testing on PHP version 5.6.8 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.7
Testing on PHP version 5.6.7 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.6
Testing on PHP version 5.6.6 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.5
Testing on PHP version 5.6.5 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.4
Testing on PHP version 5.6.4 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.3
Testing on PHP version 5.6.3 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.2
Testing on PHP version 5.6.2 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.1
Testing on PHP version 5.6.1 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.6.0
Testing on PHP version 5.6.0 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.38
Testing on PHP version 5.5.38 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.37
Testing on PHP version 5.5.37 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.36
Testing on PHP version 5.5.36 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.35
Testing on PHP version 5.5.35 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.34
Testing on PHP version 5.5.34 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.33
Testing on PHP version 5.5.33 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.32
Testing on PHP version 5.5.32 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.31
Testing on PHP version 5.5.31 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.30
Testing on PHP version 5.5.30 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.29
Testing on PHP version 5.5.29 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.28
Testing on PHP version 5.5.28 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.27
Testing on PHP version 5.5.27 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.26
Testing on PHP version 5.5.26 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.25
Testing on PHP version 5.5.25 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.24
Testing on PHP version 5.5.24 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.23
Testing on PHP version 5.5.23 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.22
Testing on PHP version 5.5.22 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.21
Testing on PHP version 5.5.21 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.20
Testing on PHP version 5.5.20 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.19
Testing on PHP version 5.5.19 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.18
Testing on PHP version 5.5.18 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.16
Testing on PHP version 5.5.16 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.15
Testing on PHP version 5.5.15 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.14
Testing on PHP version 5.5.14 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.13
Testing on PHP version 5.5.13 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.12
Testing on PHP version 5.5.12 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.11
Testing on PHP version 5.5.11 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.10
Testing on PHP version 5.5.10 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.9
Testing on PHP version 5.5.9 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.8
Testing on PHP version 5.5.8 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.7
Testing on PHP version 5.5.7 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.6
Testing on PHP version 5.5.6 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.5
Testing on PHP version 5.5.5 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.4
Testing on PHP version 5.5.4 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.3
Testing on PHP version 5.5.3 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.2
Testing on PHP version 5.5.2 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.1
Testing on PHP version 5.5.1 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.5.0
Testing on PHP version 5.5.0 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.45
Testing on PHP version 5.4.45 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.44
Testing on PHP version 5.4.44 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.43
Testing on PHP version 5.4.43 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.42
Testing on PHP version 5.4.42 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.41
Testing on PHP version 5.4.41 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.40
Testing on PHP version 5.4.40 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.39
Testing on PHP version 5.4.39 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.38
Testing on PHP version 5.4.38 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.37
Testing on PHP version 5.4.37 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.36
Testing on PHP version 5.4.36 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.35
Testing on PHP version 5.4.35 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.34
Testing on PHP version 5.4.34 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.32
Testing on PHP version 5.4.32 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.31
Testing on PHP version 5.4.31 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.30
Testing on PHP version 5.4.30 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.29
Testing on PHP version 5.4.29 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.28
Testing on PHP version 5.4.28 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.27
Testing on PHP version 5.4.27 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.26
Testing on PHP version 5.4.26 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.25
Testing on PHP version 5.4.25 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.24
Testing on PHP version 5.4.24 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.23
Testing on PHP version 5.4.23 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.22
Testing on PHP version 5.4.22 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.21
Testing on PHP version 5.4.21 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.20
Testing on PHP version 5.4.20 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.19
Testing on PHP version 5.4.19 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.18
Testing on PHP version 5.4.18 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.17
Testing on PHP version 5.4.17 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.16
Testing on PHP version 5.4.16 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.15
Testing on PHP version 5.4.15 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.14
Testing on PHP version 5.4.14 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.13
Testing on PHP version 5.4.13 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.12
Testing on PHP version 5.4.12 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.11
Testing on PHP version 5.4.11 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.10
Testing on PHP version 5.4.10 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.9
Testing on PHP version 5.4.9 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.8
Testing on PHP version 5.4.8 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.7
Testing on PHP version 5.4.7 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.6
Testing on PHP version 5.4.6 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.5
Testing on PHP version 5.4.5 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.4
Testing on PHP version 5.4.4 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.3
Testing on PHP version 5.4.3 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.2
Testing on PHP version 5.4.2 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.1
Testing on PHP version 5.4.1 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.4.0
Testing on PHP version 5.4.0 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.29
Testing on PHP version 5.3.29 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.28
Testing on PHP version 5.3.28 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.27
Testing on PHP version 5.3.27 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.26
Testing on PHP version 5.3.26 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.25
Testing on PHP version 5.3.25 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.24
Testing on PHP version 5.3.24 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.23
Testing on PHP version 5.3.23 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.22
Testing on PHP version 5.3.22 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.21
Testing on PHP version 5.3.21 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.20
Testing on PHP version 5.3.20 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.19
Testing on PHP version 5.3.19 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.18
Testing on PHP version 5.3.18 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.17
Testing on PHP version 5.3.17 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.16
Testing on PHP version 5.3.16 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.15
Testing on PHP version 5.3.15 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.14
Testing on PHP version 5.3.14 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.13
Testing on PHP version 5.3.13 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.12
Testing on PHP version 5.3.12 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.11
Testing on PHP version 5.3.11 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.10
Testing on PHP version 5.3.10 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.9
Testing on PHP version 5.3.9 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.8
Testing on PHP version 5.3.8 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.7
Testing on PHP version 5.3.7 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.6
Testing on PHP version 5.3.6 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.5
Testing on PHP version 5.3.5 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.4
Testing on PHP version 5.3.4 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.3
Testing on PHP version 5.3.3 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.2
Testing on PHP version 5.3.2 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.1
Testing on PHP version 5.3.1 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.3.0
Testing on PHP version 5.3.0 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(3) "/in"
Output for 5.2.17
Testing on PHP version 5.2.17 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.2.16
Testing on PHP version 5.2.16 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.2.15
Testing on PHP version 5.2.15 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.2.14
Testing on PHP version 5.2.14 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.2.13
Testing on PHP version 5.2.13 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.2.12
Testing on PHP version 5.2.12 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.2.11
Testing on PHP version 5.2.11 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.2.10
Testing on PHP version 5.2.10 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.2.9
Testing on PHP version 5.2.9 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.2.8
Testing on PHP version 5.2.8 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.2.7
Testing on PHP version 5.2.7 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.2.6
Testing on PHP version 5.2.6 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.2.5
Testing on PHP version 5.2.5 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.2.4
Testing on PHP version 5.2.4 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.2.3
Testing on PHP version 5.2.3 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.2.2
Testing on PHP version 5.2.2 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.2.1
Testing on PHP version 5.2.1 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.2.0
Testing on PHP version 5.2.0 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.1.6
Testing on PHP version 5.1.6 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.1.5
Testing on PHP version 5.1.5 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.1.4
Testing on PHP version 5.1.4 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.1.3
Testing on PHP version 5.1.3 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.1.2
Testing on PHP version 5.1.2 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.1.1
Testing on PHP version 5.1.1 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.1.0
Testing on PHP version 5.1.0 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.0.5
Testing on PHP version 5.0.5 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.0.4
Testing on PHP version 5.0.4 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.0.3
Testing on PHP version 5.0.3 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.0.2
Testing on PHP version 5.0.2 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Testing on PHP version 5.0.1PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 7 Checking if __DIR__ is defined...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 11 Nope, defined() returned (bool)false.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 So, seems like the magic constant __DIR__ is not defined.PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 15 No prob. Executing define('__DIR__', '/foo/bar')...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Done, defined __DIR__ as "/foo/bar".PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 22 Double-checking __DIR__ is defined now...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 28 Strike, this time defined('__DIR__') returned (bool)true.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 So, seems like __DIR__ was successfully defined. :)PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 37 Finally, here is the result of var_dump(__DIR__):PHP_EOLstring(8) "/foo/bar"
Output for 5.0.0
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Testing on PHP version 5.0.0PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 7 Checking if __DIR__ is defined...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 11 Nope, defined() returned (bool)false.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 So, seems like the magic constant __DIR__ is not defined.PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 15 No prob. Executing define('__DIR__', '/foo/bar')...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Done, defined __DIR__ as "/foo/bar".PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 22 Double-checking __DIR__ is defined now...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 28 Strike, this time defined('__DIR__') returned (bool)true.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 So, seems like __DIR__ was successfully defined. :)PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 37 Finally, here is the result of var_dump(__DIR__):PHP_EOLstring(8) "/foo/bar"
Output for 4.4.9
Testing on PHP version 4.4.9 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 4.4.8
Testing on PHP version 4.4.8 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 4.4.7
Testing on PHP version 4.4.7 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 4.4.6
Testing on PHP version 4.4.6 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 4.4.5
Testing on PHP version 4.4.5 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 4.4.4
Testing on PHP version 4.4.4 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 4.4.3
Testing on PHP version 4.4.3 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 4.4.2
Testing on PHP version 4.4.2 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 4.4.1
Testing on PHP version 4.4.1 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 4.4.0
Testing on PHP version 4.4.0 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 4.3.11
Testing on PHP version 4.3.11 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 4.3.10
Testing on PHP version 4.3.10 Checking if __DIR__ is defined... Nope, defined() returned (bool)false. So, seems like the magic constant __DIR__ is not defined. No prob. Executing define('__DIR__', '/foo/bar')... Done, defined __DIR__ as "/foo/bar". Double-checking __DIR__ is defined now... Strike, this time defined('__DIR__') returned (bool)true. So, seems like __DIR__ was successfully defined. :) Finally, here is the result of var_dump(__DIR__): string(8) "/foo/bar"
Output for 4.3.9
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Testing on PHP version 4.3.9PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 7 Checking if __DIR__ is defined...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 11 Nope, defined() returned (bool)false.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 So, seems like the magic constant __DIR__ is not defined.PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 15 No prob. Executing define('__DIR__', '/foo/bar')...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Done, defined __DIR__ as "/foo/bar".PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 22 Double-checking __DIR__ is defined now...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 28 Strike, this time defined('__DIR__') returned (bool)true.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 So, seems like __DIR__ was successfully defined. :)PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 37 Finally, here is the result of var_dump(__DIR__):PHP_EOLstring(8) "/foo/bar"
Output for 4.3.8
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Testing on PHP version 4.3.8PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 7 Checking if __DIR__ is defined...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 11 Nope, defined() returned (bool)false.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 So, seems like the magic constant __DIR__ is not defined.PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 15 No prob. Executing define('__DIR__', '/foo/bar')...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Done, defined __DIR__ as "/foo/bar".PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 22 Double-checking __DIR__ is defined now...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 28 Strike, this time defined('__DIR__') returned (bool)true.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 So, seems like __DIR__ was successfully defined. :)PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 37 Finally, here is the result of var_dump(__DIR__):PHP_EOLstring(8) "/foo/bar"
Output for 4.3.7
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Testing on PHP version 4.3.7PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 7 Checking if __DIR__ is defined...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 11 Nope, defined() returned (bool)false.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 So, seems like the magic constant __DIR__ is not defined.PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 15 No prob. Executing define('__DIR__', '/foo/bar')...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Done, defined __DIR__ as "/foo/bar".PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 22 Double-checking __DIR__ is defined now...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 28 Strike, this time defined('__DIR__') returned (bool)true.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 So, seems like __DIR__ was successfully defined. :)PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 37 Finally, here is the result of var_dump(__DIR__):PHP_EOLstring(8) "/foo/bar"
Output for 4.3.6
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Testing on PHP version 4.3.6PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 7 Checking if __DIR__ is defined...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 11 Nope, defined() returned (bool)false.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 So, seems like the magic constant __DIR__ is not defined.PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 15 No prob. Executing define('__DIR__', '/foo/bar')...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Done, defined __DIR__ as "/foo/bar".PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 22 Double-checking __DIR__ is defined now...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 28 Strike, this time defined('__DIR__') returned (bool)true.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 So, seems like __DIR__ was successfully defined. :)PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 37 Finally, here is the result of var_dump(__DIR__):PHP_EOLstring(8) "/foo/bar"
Output for 4.3.5
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Testing on PHP version 4.3.5PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 7 Checking if __DIR__ is defined...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 11 Nope, defined() returned (bool)false.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 So, seems like the magic constant __DIR__ is not defined.PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 15 No prob. Executing define('__DIR__', '/foo/bar')...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Done, defined __DIR__ as "/foo/bar".PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 22 Double-checking __DIR__ is defined now...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 28 Strike, this time defined('__DIR__') returned (bool)true.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 So, seems like __DIR__ was successfully defined. :)PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 37 Finally, here is the result of var_dump(__DIR__):PHP_EOLstring(8) "/foo/bar"
Output for 4.3.4
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Testing on PHP version 4.3.4PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 7 Checking if __DIR__ is defined...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 11 Nope, defined() returned (bool)false.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 So, seems like the magic constant __DIR__ is not defined.PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 15 No prob. Executing define('__DIR__', '/foo/bar')...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Done, defined __DIR__ as "/foo/bar".PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 22 Double-checking __DIR__ is defined now...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 28 Strike, this time defined('__DIR__') returned (bool)true.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 So, seems like __DIR__ was successfully defined. :)PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 37 Finally, here is the result of var_dump(__DIR__):PHP_EOLstring(8) "/foo/bar"
Output for 4.3.3
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Testing on PHP version 4.3.3PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 7 Checking if __DIR__ is defined...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 11 Nope, defined() returned (bool)false.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 So, seems like the magic constant __DIR__ is not defined.PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 15 No prob. Executing define('__DIR__', '/foo/bar')...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Done, defined __DIR__ as "/foo/bar".PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 22 Double-checking __DIR__ is defined now...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 28 Strike, this time defined('__DIR__') returned (bool)true.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 So, seems like __DIR__ was successfully defined. :)PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 37 Finally, here is the result of var_dump(__DIR__):PHP_EOLstring(8) "/foo/bar"
Output for 4.3.2
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Testing on PHP version 4.3.2PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 7 Checking if __DIR__ is defined...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 11 Nope, defined() returned (bool)false.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 So, seems like the magic constant __DIR__ is not defined.PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 15 No prob. Executing define('__DIR__', '/foo/bar')...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Done, defined __DIR__ as "/foo/bar".PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 22 Double-checking __DIR__ is defined now...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 28 Strike, this time defined('__DIR__') returned (bool)true.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 So, seems like __DIR__ was successfully defined. :)PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 37 Finally, here is the result of var_dump(__DIR__):PHP_EOLstring(8) "/foo/bar"
Output for 4.3.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Testing on PHP version 4.3.1PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 7 Checking if __DIR__ is defined...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 11 Nope, defined() returned (bool)false.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 So, seems like the magic constant __DIR__ is not defined.PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 15 No prob. Executing define('__DIR__', '/foo/bar')...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Done, defined __DIR__ as "/foo/bar".PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 22 Double-checking __DIR__ is defined now...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 28 Strike, this time defined('__DIR__') returned (bool)true.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 So, seems like __DIR__ was successfully defined. :)PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 37 Finally, here is the result of var_dump(__DIR__):PHP_EOLstring(8) "/foo/bar"
Output for 4.3.0
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 4 Testing on PHP version 4.3.0PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 7 Checking if __DIR__ is defined...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 11 Nope, defined() returned (bool)false.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 12 So, seems like the magic constant __DIR__ is not defined.PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 15 No prob. Executing define('__DIR__', '/foo/bar')...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 19 Done, defined __DIR__ as "/foo/bar".PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 22 Double-checking __DIR__ is defined now...PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 28 Strike, this time defined('__DIR__') returned (bool)true.PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 29 So, seems like __DIR__ was successfully defined. :)PHP_EOLPHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/95v4u on line 37 Finally, here is the result of var_dump(__DIR__):PHP_EOLstring(8) "/foo/bar"