3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ip = "192.168.115.000"; echo "ip2long($ip) PHP".phpversion() .' '.PHP_OS.' : ' .(ip2long($ip) === false ? "invalid" : "valid");
based on XmQUl
Output for 7.3.1
ip2long(192.168.115.000) PHP7.3.1 Linux : invalid
Output for 7.3.0
ip2long(192.168.115.000) PHP7.3.0 Linux : invalid
Output for 7.2.13
ip2long(192.168.115.000) PHP7.2.13 Linux : invalid
Output for 7.2.12
ip2long(192.168.115.000) PHP7.2.12 Linux : invalid
Output for 7.2.11
ip2long(192.168.115.000) PHP7.2.11 Linux : invalid
Output for 7.2.10
ip2long(192.168.115.000) PHP7.2.10 Linux : invalid
Output for 7.2.9
ip2long(192.168.115.000) PHP7.2.9 Linux : invalid
Output for 7.2.8
ip2long(192.168.115.000) PHP7.2.8 Linux : invalid
Output for 7.2.7
ip2long(192.168.115.000) PHP7.2.7 Linux : invalid
Output for 7.2.6
ip2long(192.168.115.000) PHP7.2.6 Linux : invalid
Output for 7.2.5
ip2long(192.168.115.000) PHP7.2.5 Linux : invalid
Output for 7.2.4
ip2long(192.168.115.000) PHP7.2.4 Linux : invalid
Output for 7.2.3
ip2long(192.168.115.000) PHP7.2.3 Linux : invalid
Output for 7.2.2
ip2long(192.168.115.000) PHP7.2.2 Linux : invalid
Output for 7.2.1
ip2long(192.168.115.000) PHP7.2.1 Linux : invalid
Output for 7.2.0
ip2long(192.168.115.000) PHP7.2.0 Linux : invalid
Output for 7.1.25
ip2long(192.168.115.000) PHP7.1.25 Linux : invalid
Output for 7.1.10
ip2long(192.168.115.000) PHP7.1.10 Linux : invalid
Output for 7.1.7
ip2long(192.168.115.000) PHP7.1.7 Linux : invalid
Output for 7.1.6
ip2long(192.168.115.000) PHP7.1.6 Linux : invalid
Output for 7.1.0
ip2long(192.168.115.000) PHP7.1.0 Linux : invalid
Output for 7.0.20
ip2long(192.168.115.000) PHP7.0.20 Linux : invalid
Output for 7.0.6
ip2long(192.168.115.000) PHP7.0.6 Linux : invalid
Output for 7.0.5
ip2long(192.168.115.000) PHP7.0.5 Linux : invalid
Output for 7.0.4
ip2long(192.168.115.000) PHP7.0.4 Linux : invalid
Output for 7.0.3
ip2long(192.168.115.000) PHP7.0.3 Linux : invalid
Output for 7.0.2
ip2long(192.168.115.000) PHP7.0.2 Linux : invalid
Output for 7.0.1
ip2long(192.168.115.000) PHP7.0.1 Linux : invalid
Output for 7.0.0
ip2long(192.168.115.000) PHP7.0.0 Linux : invalid
Output for 5.6.28
ip2long(192.168.115.000) PHP5.6.28 Linux : invalid
Output for 5.6.21
ip2long(192.168.115.000) PHP5.6.21 Linux : invalid
Output for 5.6.20
ip2long(192.168.115.000) PHP5.6.20 Linux : invalid
Output for 5.6.19
ip2long(192.168.115.000) PHP5.6.19 Linux : invalid
Output for 5.6.18
ip2long(192.168.115.000) PHP5.6.18 Linux : invalid
Output for 5.6.17
ip2long(192.168.115.000) PHP5.6.17 Linux : invalid
Output for 5.6.16
ip2long(192.168.115.000) PHP5.6.16 Linux : invalid
Output for 5.6.15
ip2long(192.168.115.000) PHP5.6.15 Linux : invalid
Output for 5.6.14
ip2long(192.168.115.000) PHP5.6.14 Linux : invalid
Output for 5.6.13
ip2long(192.168.115.000) PHP5.6.13 Linux : invalid
Output for 5.6.12
ip2long(192.168.115.000) PHP5.6.12 Linux : invalid
Output for 5.6.11
ip2long(192.168.115.000) PHP5.6.11 Linux : invalid
Output for 5.6.10
ip2long(192.168.115.000) PHP5.6.10 Linux : invalid
Output for 5.6.9
ip2long(192.168.115.000) PHP5.6.9 Linux : invalid
Output for 5.6.8
ip2long(192.168.115.000) PHP5.6.8 Linux : invalid
Output for 5.5.35
ip2long(192.168.115.000) PHP5.5.35 Linux : invalid
Output for 5.5.34
ip2long(192.168.115.000) PHP5.5.34 Linux : invalid
Output for 5.5.33
ip2long(192.168.115.000) PHP5.5.33 Linux : invalid
Output for 5.5.32
ip2long(192.168.115.000) PHP5.5.32 Linux : invalid
Output for 5.5.31
ip2long(192.168.115.000) PHP5.5.31 Linux : invalid
Output for 5.5.30
ip2long(192.168.115.000) PHP5.5.30 Linux : invalid
Output for 5.5.29
ip2long(192.168.115.000) PHP5.5.29 Linux : invalid
Output for 5.5.28
ip2long(192.168.115.000) PHP5.5.28 Linux : invalid
Output for 5.5.27
ip2long(192.168.115.000) PHP5.5.27 Linux : invalid
Output for 5.5.26
ip2long(192.168.115.000) PHP5.5.26 Linux : invalid
Output for 5.5.25
ip2long(192.168.115.000) PHP5.5.25 Linux : invalid
Output for 5.5.24
ip2long(192.168.115.000) PHP5.5.24 Linux : invalid
Output for 5.4.45
ip2long(192.168.115.000) PHP5.4.45 Linux : invalid
Output for 5.4.44
ip2long(192.168.115.000) PHP5.4.44 Linux : invalid
Output for 5.4.43
ip2long(192.168.115.000) PHP5.4.43 Linux : invalid
Output for 5.4.42
ip2long(192.168.115.000) PHP5.4.42 Linux : invalid
Output for 5.4.41
ip2long(192.168.115.000) PHP5.4.41 Linux : invalid
Output for 5.4.40
ip2long(192.168.115.000) PHP5.4.40 Linux : invalid
Output for 5.4.39
ip2long(192.168.115.000) PHP5.4.39 Linux : invalid
Output for 5.4.38
ip2long(192.168.115.000) PHP5.4.38 Linux : invalid
Output for 5.4.37
ip2long(192.168.115.000) PHP5.4.37 Linux : invalid
Output for 5.4.36
ip2long(192.168.115.000) PHP5.4.36 Linux : invalid
Output for 5.4.35
ip2long(192.168.115.000) PHP5.4.35 Linux : invalid
Output for 5.4.34
ip2long(192.168.115.000) PHP5.4.34 Linux : invalid
Output for 5.4.32
ip2long(192.168.115.000) PHP5.4.32 Linux : invalid
Output for 5.4.31
ip2long(192.168.115.000) PHP5.4.31 Linux : invalid
Output for 5.4.30
ip2long(192.168.115.000) PHP5.4.30 Linux : invalid
Output for 5.4.29
ip2long(192.168.115.000) PHP5.4.29 Linux : invalid
Output for 5.4.28
ip2long(192.168.115.000) PHP5.4.28 Linux : invalid
Output for 5.4.27
ip2long(192.168.115.000) PHP5.4.27 Linux : invalid
Output for 5.4.26
ip2long(192.168.115.000) PHP5.4.26 Linux : invalid
Output for 5.4.25
ip2long(192.168.115.000) PHP5.4.25 Linux : invalid
Output for 5.4.24
ip2long(192.168.115.000) PHP5.4.24 Linux : invalid
Output for 5.4.23
ip2long(192.168.115.000) PHP5.4.23 Linux : invalid
Output for 5.4.22
ip2long(192.168.115.000) PHP5.4.22 Linux : invalid
Output for 5.4.21
ip2long(192.168.115.000) PHP5.4.21 Linux : invalid
Output for 5.4.20
ip2long(192.168.115.000) PHP5.4.20 Linux : invalid
Output for 5.4.19
ip2long(192.168.115.000) PHP5.4.19 Linux : invalid
Output for 5.4.18
ip2long(192.168.115.000) PHP5.4.18 Linux : invalid
Output for 5.4.17
ip2long(192.168.115.000) PHP5.4.17 Linux : invalid
Output for 5.4.16
ip2long(192.168.115.000) PHP5.4.16 Linux : invalid
Output for 5.4.15
ip2long(192.168.115.000) PHP5.4.15 Linux : invalid
Output for 5.4.14
ip2long(192.168.115.000) PHP5.4.14 Linux : invalid
Output for 5.4.13
ip2long(192.168.115.000) PHP5.4.13 Linux : invalid
Output for 5.4.12
ip2long(192.168.115.000) PHP5.4.12 Linux : invalid
Output for 5.3.29
ip2long(192.168.115.000) PHP5.3.29 Linux : invalid
Output for 5.3.28
ip2long(192.168.115.000) PHP5.3.28 Linux : invalid
Output for 5.3.27
ip2long(192.168.115.000) PHP5.3.27 Linux : invalid
Output for 5.3.26
ip2long(192.168.115.000) PHP5.3.26 Linux : invalid
Output for 5.3.25
ip2long(192.168.115.000) PHP5.3.25 Linux : invalid
Output for 5.3.24
ip2long(192.168.115.000) PHP5.3.24 Linux : invalid
Output for 5.3.23
ip2long(192.168.115.000) PHP5.3.23 Linux : invalid
Output for 5.3.22
ip2long(192.168.115.000) PHP5.3.22 Linux : invalid