3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ip = "192.168.115.000"; echo "ip2long($ip) PHP".phpversion() .' '.PHP_OS.' : ' .(ip2long($ip) === false ? "invalid" : "valid");
Output for 7.4.1
ip2long(192.168.115.000) PHP7.4.1 Linux : invalid
Output for 7.4.0
ip2long(192.168.115.000) PHP7.4.0 Linux : invalid
Output for 7.3.13
ip2long(192.168.115.000) PHP7.3.13 Linux : invalid
Output for 7.3.12
ip2long(192.168.115.000) PHP7.3.12 Linux : invalid
Output for 7.3.11
ip2long(192.168.115.000) PHP7.3.11 Linux : invalid
Output for 7.3.10
ip2long(192.168.115.000) PHP7.3.10 Linux : invalid
Output for 7.3.9
ip2long(192.168.115.000) PHP7.3.9 Linux : invalid
Output for 7.3.8
ip2long(192.168.115.000) PHP7.3.8 Linux : invalid
Output for 7.3.7
ip2long(192.168.115.000) PHP7.3.7 Linux : invalid
Output for 7.3.6
ip2long(192.168.115.000) PHP7.3.6 Linux : invalid
Output for 7.3.5
ip2long(192.168.115.000) PHP7.3.5 Linux : invalid
Output for 7.3.4
ip2long(192.168.115.000) PHP7.3.4 Linux : invalid
Output for 7.3.3
ip2long(192.168.115.000) PHP7.3.3 Linux : invalid
Output for 7.3.2
ip2long(192.168.115.000) PHP7.3.2 Linux : invalid
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.26
ip2long(192.168.115.000) PHP7.2.26 Linux : invalid
Output for 7.2.25
ip2long(192.168.115.000) PHP7.2.25 Linux : invalid
Output for 7.2.24
ip2long(192.168.115.000) PHP7.2.24 Linux : invalid
Output for 7.2.23
ip2long(192.168.115.000) PHP7.2.23 Linux : invalid
Output for 7.2.22
ip2long(192.168.115.000) PHP7.2.22 Linux : invalid
Output for 7.2.21
ip2long(192.168.115.000) PHP7.2.21 Linux : invalid
Output for 7.2.20
ip2long(192.168.115.000) PHP7.2.20 Linux : invalid
Output for 7.2.19
ip2long(192.168.115.000) PHP7.2.19 Linux : invalid
Output for 7.2.18
ip2long(192.168.115.000) PHP7.2.18 Linux : invalid
Output for 7.2.17
ip2long(192.168.115.000) PHP7.2.17 Linux : invalid
Output for 7.2.16
ip2long(192.168.115.000) PHP7.2.16 Linux : invalid
Output for 7.2.15
ip2long(192.168.115.000) PHP7.2.15 Linux : invalid
Output for 7.2.14
ip2long(192.168.115.000) PHP7.2.14 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.33
ip2long(192.168.115.000) PHP7.1.33 Linux : invalid
Output for 7.1.32
ip2long(192.168.115.000) PHP7.1.32 Linux : invalid
Output for 7.1.31
ip2long(192.168.115.000) PHP7.1.31 Linux : invalid
Output for 7.1.30
ip2long(192.168.115.000) PHP7.1.30 Linux : invalid
Output for 7.1.29
ip2long(192.168.115.000) PHP7.1.29 Linux : invalid
Output for 7.1.28
ip2long(192.168.115.000) PHP7.1.28 Linux : invalid
Output for 7.1.27
ip2long(192.168.115.000) PHP7.1.27 Linux : invalid
Output for 7.1.26
ip2long(192.168.115.000) PHP7.1.26 Linux : invalid
Output for 7.1.25
ip2long(192.168.115.000) PHP7.1.25 Linux : invalid
Output for 7.1.24
ip2long(192.168.115.000) PHP7.1.24 Linux : invalid
Output for 7.1.23
ip2long(192.168.115.000) PHP7.1.23 Linux : invalid
Output for 7.1.22
ip2long(192.168.115.000) PHP7.1.22 Linux : invalid
Output for 7.1.21
ip2long(192.168.115.000) PHP7.1.21 Linux : invalid
Output for 7.1.20
ip2long(192.168.115.000) PHP7.1.20 Linux : invalid
Output for 7.1.19
ip2long(192.168.115.000) PHP7.1.19 Linux : invalid
Output for 7.1.18
ip2long(192.168.115.000) PHP7.1.18 Linux : invalid
Output for 7.1.17
ip2long(192.168.115.000) PHP7.1.17 Linux : invalid
Output for 7.1.16
ip2long(192.168.115.000) PHP7.1.16 Linux : invalid
Output for 7.1.15
ip2long(192.168.115.000) PHP7.1.15 Linux : invalid
Output for 7.1.14
ip2long(192.168.115.000) PHP7.1.14 Linux : invalid
Output for 7.1.13
ip2long(192.168.115.000) PHP7.1.13 Linux : invalid
Output for 7.1.12
ip2long(192.168.115.000) PHP7.1.12 Linux : invalid
Output for 7.1.11
ip2long(192.168.115.000) PHP7.1.11 Linux : invalid
Output for 7.1.10
ip2long(192.168.115.000) PHP7.1.10 Linux : invalid
Output for 7.1.9
ip2long(192.168.115.000) PHP7.1.9 Linux : invalid
Output for 7.1.8
ip2long(192.168.115.000) PHP7.1.8 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.5
ip2long(192.168.115.000) PHP7.1.5 Linux : invalid
Output for 7.1.4
ip2long(192.168.115.000) PHP7.1.4 Linux : invalid
Output for 7.1.3
ip2long(192.168.115.000) PHP7.1.3 Linux : invalid
Output for 7.1.2
ip2long(192.168.115.000) PHP7.1.2 Linux : invalid
Output for 7.1.1
ip2long(192.168.115.000) PHP7.1.1 Linux : invalid
Output for 7.1.0
ip2long(192.168.115.000) PHP7.1.0 Linux : invalid
Output for 7.0.33
ip2long(192.168.115.000) PHP7.0.33 Linux : invalid
Output for 7.0.32
ip2long(192.168.115.000) PHP7.0.32 Linux : invalid
Output for 7.0.31
ip2long(192.168.115.000) PHP7.0.31 Linux : invalid
Output for 7.0.30
ip2long(192.168.115.000) PHP7.0.30 Linux : invalid
Output for 7.0.29
ip2long(192.168.115.000) PHP7.0.29 Linux : invalid
Output for 7.0.28
ip2long(192.168.115.000) PHP7.0.28 Linux : invalid
Output for 7.0.27
ip2long(192.168.115.000) PHP7.0.27 Linux : invalid
Output for 7.0.26
ip2long(192.168.115.000) PHP7.0.26 Linux : invalid
Output for 7.0.25
ip2long(192.168.115.000) PHP7.0.25 Linux : invalid
Output for 7.0.24
ip2long(192.168.115.000) PHP7.0.24 Linux : invalid
Output for 7.0.23
ip2long(192.168.115.000) PHP7.0.23 Linux : invalid
Output for 7.0.22
ip2long(192.168.115.000) PHP7.0.22 Linux : invalid
Output for 7.0.21
ip2long(192.168.115.000) PHP7.0.21 Linux : invalid
Output for 7.0.20
ip2long(192.168.115.000) PHP7.0.20 Linux : invalid
Output for 7.0.19
ip2long(192.168.115.000) PHP7.0.19 Linux : invalid
Output for 7.0.18
ip2long(192.168.115.000) PHP7.0.18 Linux : invalid
Output for 7.0.17
ip2long(192.168.115.000) PHP7.0.17 Linux : invalid
Output for 7.0.16
ip2long(192.168.115.000) PHP7.0.16 Linux : invalid
Output for 7.0.15
ip2long(192.168.115.000) PHP7.0.15 Linux : invalid
Output for 7.0.14
ip2long(192.168.115.000) PHP7.0.14 Linux : invalid
Output for 7.0.13
ip2long(192.168.115.000) PHP7.0.13 Linux : invalid
Output for 7.0.12
ip2long(192.168.115.000) PHP7.0.12 Linux : invalid
Output for 7.0.11
ip2long(192.168.115.000) PHP7.0.11 Linux : invalid
Output for 7.0.10
ip2long(192.168.115.000) PHP7.0.10 Linux : invalid
Output for 7.0.9
ip2long(192.168.115.000) PHP7.0.9 Linux : invalid
Output for 7.0.8
ip2long(192.168.115.000) PHP7.0.8 Linux : invalid
Output for 7.0.7
ip2long(192.168.115.000) PHP7.0.7 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.40
ip2long(192.168.115.000) PHP5.6.40 Linux : invalid
Output for 5.6.39
ip2long(192.168.115.000) PHP5.6.39 Linux : invalid
Output for 5.6.38
ip2long(192.168.115.000) PHP5.6.38 Linux : invalid
Output for 5.6.37
ip2long(192.168.115.000) PHP5.6.37 Linux : invalid
Output for 5.6.36
ip2long(192.168.115.000) PHP5.6.36 Linux : invalid
Output for 5.6.35
ip2long(192.168.115.000) PHP5.6.35 Linux : invalid
Output for 5.6.34
ip2long(192.168.115.000) PHP5.6.34 Linux : invalid
Output for 5.6.33
ip2long(192.168.115.000) PHP5.6.33 Linux : invalid
Output for 5.6.32
ip2long(192.168.115.000) PHP5.6.32 Linux : invalid
Output for 5.6.31
ip2long(192.168.115.000) PHP5.6.31 Linux : invalid
Output for 5.6.30
ip2long(192.168.115.000) PHP5.6.30 Linux : invalid
Output for 5.6.29
ip2long(192.168.115.000) PHP5.6.29 Linux : invalid
Output for 5.6.28
ip2long(192.168.115.000) PHP5.6.28 Linux : invalid
Output for 5.6.27
ip2long(192.168.115.000) PHP5.6.27 Linux : invalid
Output for 5.6.26
ip2long(192.168.115.000) PHP5.6.26 Linux : invalid
Output for 5.6.25
ip2long(192.168.115.000) PHP5.6.25 Linux : invalid
Output for 5.6.24
ip2long(192.168.115.000) PHP5.6.24 Linux : invalid
Output for 5.6.23
ip2long(192.168.115.000) PHP5.6.23 Linux : invalid
Output for 5.6.22
ip2long(192.168.115.000) PHP5.6.22 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.6.7
ip2long(192.168.115.000) PHP5.6.7 Linux : invalid
Output for 5.6.6
ip2long(192.168.115.000) PHP5.6.6 Linux : invalid
Output for 5.6.5
ip2long(192.168.115.000) PHP5.6.5 Linux : invalid
Output for 5.6.4
ip2long(192.168.115.000) PHP5.6.4 Linux : invalid
Output for 5.6.3
ip2long(192.168.115.000) PHP5.6.3 Linux : invalid
Output for 5.6.2
ip2long(192.168.115.000) PHP5.6.2 Linux : invalid
Output for 5.6.1
ip2long(192.168.115.000) PHP5.6.1 Linux : invalid
Output for 5.6.0
ip2long(192.168.115.000) PHP5.6.0 Linux : invalid
Output for 5.5.38
ip2long(192.168.115.000) PHP5.5.38 Linux : invalid
Output for 5.5.37
ip2long(192.168.115.000) PHP5.5.37 Linux : invalid
Output for 5.5.36
ip2long(192.168.115.000) PHP5.5.36 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.5.23
ip2long(192.168.115.000) PHP5.5.23 Linux : invalid
Output for 5.5.22
ip2long(192.168.115.000) PHP5.5.22 Linux : invalid
Output for 5.5.21
ip2long(192.168.115.000) PHP5.5.21 Linux : invalid
Output for 5.5.20
ip2long(192.168.115.000) PHP5.5.20 Linux : invalid
Output for 5.5.19
ip2long(192.168.115.000) PHP5.5.19 Linux : invalid
Output for 5.5.18
ip2long(192.168.115.000) PHP5.5.18 Linux : invalid
Output for 5.5.17
ip2long(192.168.115.000) PHP5.5.17 Linux : invalid
Output for 5.5.16
ip2long(192.168.115.000) PHP5.5.16 Linux : invalid
Output for 5.5.15
ip2long(192.168.115.000) PHP5.5.15 Linux : invalid
Output for 5.5.14
ip2long(192.168.115.000) PHP5.5.14 Linux : invalid
Output for 5.5.13
ip2long(192.168.115.000) PHP5.5.13 Linux : invalid
Output for 5.5.12
ip2long(192.168.115.000) PHP5.5.12 Linux : invalid
Output for 5.5.11
ip2long(192.168.115.000) PHP5.5.11 Linux : invalid
Output for 5.5.10
ip2long(192.168.115.000) PHP5.5.10 Linux : invalid
Output for 5.5.9
ip2long(192.168.115.000) PHP5.5.9 Linux : invalid
Output for 5.5.8
ip2long(192.168.115.000) PHP5.5.8 Linux : invalid
Output for 5.5.7
ip2long(192.168.115.000) PHP5.5.7 Linux : invalid
Output for 5.5.6
ip2long(192.168.115.000) PHP5.5.6 Linux : invalid
Output for 5.5.5
ip2long(192.168.115.000) PHP5.5.5 Linux : invalid
Output for 5.5.4
ip2long(192.168.115.000) PHP5.5.4 Linux : invalid
Output for 5.5.3
ip2long(192.168.115.000) PHP5.5.3 Linux : invalid
Output for 5.5.2
ip2long(192.168.115.000) PHP5.5.2 Linux : invalid
Output for 5.5.1
ip2long(192.168.115.000) PHP5.5.1 Linux : invalid
Output for 5.5.0
ip2long(192.168.115.000) PHP5.5.0 Linux : invalid

preferences:
141.89 ms | 402 KiB | 196 Q