3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r(glob(ini_get('extension_dir')));
Output for 7.2.0
Array ( [0] => /usr/lib/php/7.2.0/modules )
Output for 7.1.10
Array ( [0] => /usr/lib/php/7.1.10/modules )
Output for 7.1.7
Array ( [0] => /usr/lib/php/7.1.7/modules )
Output for 7.1.6
Array ( [0] => /usr/lib/php/7.1.6/modules )
Output for 7.1.5
Array ( [0] => /usr/lib/php/7.1.5/modules )
Output for 7.1.0
Array ( [0] => /usr/lib/php/7.1.0/modules )
Output for 7.0.20
Array ( [0] => /usr/lib/php/7.0.20/modules )
Output for 7.0.14
Array ( [0] => /usr/lib/php/7.0.14/modules )
Output for 7.0.10
Array ( [0] => /usr/lib/php/7.0.10/modules )
Output for 7.0.9
Array ( [0] => /usr/lib/php/7.0.9/modules )
Output for 7.0.8
Array ( [0] => /usr/lib/php/7.0.8/modules )
Output for 7.0.7
Array ( [0] => /usr/lib/php/7.0.7/modules )
Output for 7.0.6
Array ( [0] => /usr/lib/php/7.0.6/modules )
Output for 7.0.5
Array ( [0] => /usr/lib/php/7.0.5/modules )
Output for 7.0.4
Array ( [0] => /usr/lib/php/7.0.4/modules )
Output for 7.0.3
Array ( [0] => /usr/lib/php/7.0.3/modules )
Output for 7.0.2
Array ( [0] => /usr/lib/php/7.0.2/modules )
Output for 7.0.1
Array ( [0] => /usr/lib/php/7.0.1/modules )
Output for 7.0.0
Array ( [0] => /usr/lib/php/7.0.0/modules )
Output for 5.6.28
Array ( [0] => /usr/lib/php/5.6.28/modules )
Output for 5.6.25
Array ( [0] => /usr/lib/php/5.6.25/modules )
Output for 5.6.24
Array ( [0] => /usr/lib/php/5.6.24/modules )
Output for 5.6.23
Array ( [0] => /usr/lib/php/5.6.23/modules )
Output for 5.6.22
Array ( [0] => /usr/lib/php/5.6.22/modules )
Output for 5.6.21
Array ( [0] => /usr/lib/php/5.6.21/modules )
Output for 5.6.20
Array ( [0] => /usr/lib/php/5.6.20/modules )
Output for 5.6.19
Array ( [0] => /usr/lib/php/5.6.19/modules )
Output for 5.6.18
Array ( [0] => /usr/lib/php/5.6.18/modules )
Output for 5.6.17
Array ( [0] => /usr/lib/php/5.6.17/modules )
Output for 5.6.16
Array ( [0] => /usr/lib/php/5.6.16/modules )
Output for 5.6.15
Array ( [0] => /usr/lib/php/5.6.15/modules )
Output for 5.6.14
Array ( [0] => /usr/lib/php/5.6.14/modules )
Output for 5.6.13
Array ( [0] => /usr/lib/php/5.6.13/modules )
Output for 5.6.12
Array ( [0] => /usr/lib/php/5.6.12/modules )
Output for 5.6.11
Array ( [0] => /usr/lib/php/5.6.11/modules )
Output for 5.6.10
Array ( [0] => /usr/lib/php/5.6.10/modules )
Output for 5.6.9
Array ( [0] => /usr/lib/php/5.6.9/modules )
Output for 5.6.8
Array ( [0] => /usr/lib/php/5.6.8/modules )
Output for 5.6.7
Array ( [0] => /usr/lib/php/5.6.7/modules )
Output for 5.6.6
Array ( [0] => /usr/lib/php/5.6.6/modules )
Output for 5.6.5
Array ( [0] => /usr/lib/php/5.6.5/modules )
Output for 5.6.4
Array ( [0] => /usr/lib/php/5.6.4/modules )
Output for 5.6.3
Array ( [0] => /usr/lib/php/5.6.3/modules )
Output for 5.6.2
Array ( [0] => /usr/lib/php/5.6.2/modules )
Output for 5.6.1
Array ( [0] => /usr/lib/php/5.6.1/modules )
Output for 5.6.0
Array ( [0] => /usr/lib/php/5.6.0/modules )
Output for 5.5.38
Array ( [0] => /usr/lib/php/5.5.38/modules )
Output for 5.5.37
Array ( [0] => /usr/lib/php/5.5.37/modules )
Output for 5.5.36
Array ( [0] => /usr/lib/php/5.5.36/modules )
Output for 5.5.35
Array ( [0] => /usr/lib/php/5.5.35/modules )
Output for 5.5.34
Array ( [0] => /usr/lib/php/5.5.34/modules )
Output for 5.5.33
Array ( [0] => /usr/lib/php/5.5.33/modules )
Output for 5.5.32
Array ( [0] => /usr/lib/php/5.5.32/modules )
Output for 5.5.31
Array ( [0] => /usr/lib/php/5.5.31/modules )
Output for 5.5.30
Array ( [0] => /usr/lib/php/5.5.30/modules )
Output for 5.5.29
Array ( [0] => /usr/lib/php/5.5.29/modules )
Output for 5.5.28
Array ( [0] => /usr/lib/php/5.5.28/modules )
Output for 5.5.27
Array ( [0] => /usr/lib/php/5.5.27/modules )
Output for 5.5.26
Array ( [0] => /usr/lib/php/5.5.26/modules )
Output for 5.5.25
Array ( [0] => /usr/lib/php/5.5.25/modules )
Output for 5.5.24
Array ( [0] => /usr/lib/php/5.5.24/modules )
Output for 5.5.23
Array ( [0] => /usr/lib/php/5.5.23/modules )
Output for 5.5.22
Array ( [0] => /usr/lib/php/5.5.22/modules )
Output for 5.5.21
Array ( [0] => /usr/lib/php/5.5.21/modules )
Output for 5.5.20
Array ( [0] => /usr/lib/php/5.5.20/modules )
Output for 5.5.19
Array ( [0] => /usr/lib/php/5.5.19/modules )
Output for 5.5.18
Array ( [0] => /usr/lib/php/5.5.18/modules )
Output for 5.5.16
Array ( [0] => /usr/lib/php/5.5.16/modules )
Output for 5.5.15
Array ( [0] => /usr/lib/php/5.5.15/modules )
Output for 5.5.14
Array ( [0] => /usr/lib/php/5.5.14/modules )
Output for 5.5.13
Array ( [0] => /usr/lib/php/5.5.13/modules )
Output for 5.5.12
Array ( [0] => /usr/lib/php/5.5.12/modules )
Output for 5.5.11
Array ( [0] => /usr/lib/php/5.5.11/modules )
Output for 5.5.10
Array ( [0] => /usr/lib/php/5.5.10/modules )
Output for 5.5.9
Array ( [0] => /usr/lib/php/5.5.9/modules )
Output for 5.5.8
Array ( [0] => /usr/lib/php/5.5.8/modules )
Output for 5.5.7
Array ( [0] => /usr/lib/php/5.5.7/modules )
Output for 5.5.6
Array ( [0] => /usr/lib/php/5.5.6/modules )
Output for 5.5.5
Array ( [0] => /usr/lib/php/5.5.5/modules )
Output for 5.5.4
Array ( [0] => /usr/lib/php/5.5.4/modules )
Output for 5.5.3
Array ( [0] => /usr/lib/php/5.5.3/modules )
Output for 5.5.2
Array ( [0] => /usr/lib/php/5.5.2/modules )
Output for 5.5.1
Array ( [0] => /usr/lib/php/5.5.1/modules )
Output for 5.5.0
Array ( [0] => /usr/lib/php/5.5.0/modules )
Output for 4.3.0 - 4.3.6, 4.3.9 - 5.4.45
Array ( )
Output for 4.3.7 - 4.3.8