3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ip = "192.0.2.0"; $result = filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_RES_RANGE); var_dump($result);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0140.00718.18
8.3.50.0040.01116.50
8.3.40.0110.00318.63
8.3.30.0070.00718.34
8.3.20.0080.00018.85
8.3.10.0030.00521.83
8.3.00.0000.00820.94
8.2.180.0140.00317.92
8.2.170.0140.00322.96
8.2.160.0100.00722.08
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0070.00022.14
8.2.120.0000.00826.35
8.2.110.0090.00020.35
8.2.100.0110.00017.84
8.2.90.0050.00319.09
8.2.80.0080.00017.97
8.2.70.0060.00317.50
8.2.60.0080.00017.80
8.2.50.0090.00018.10
8.2.40.0030.00622.31
8.2.30.0000.00820.85
8.2.20.0000.00818.05
8.2.10.0060.00317.98
8.2.00.0000.00718.18
8.1.280.0060.00925.92
8.1.270.0050.00321.83
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0050.00522.55
8.1.230.0120.00018.91
8.1.220.0070.00317.74
8.1.210.0030.00618.77
8.1.200.0060.00317.22
8.1.190.0060.00317.10
8.1.180.0000.00718.10
8.1.170.0080.00018.51
8.1.160.0040.00419.05
8.1.150.0000.00820.52
8.1.140.0040.00419.45
8.1.130.0050.00318.80
8.1.120.0040.00417.30
8.1.110.0050.00317.35
8.1.100.0040.00417.43
8.1.90.0030.00517.40
8.1.80.0000.00717.34
8.1.70.0040.00417.27
8.1.60.0040.00417.51
8.1.50.0040.00417.42
8.1.40.0030.00617.49
8.1.30.0000.00717.55
8.1.20.0000.00817.45
8.1.10.0000.00717.30
8.1.00.0060.00317.27
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0050.00218.37
8.0.270.0070.00017.18
8.0.260.0030.00716.80
8.0.250.0030.00316.89
8.0.240.0050.00216.78
8.0.230.0070.00016.73
8.0.220.0040.00416.72
8.0.210.0000.00716.69
8.0.200.0000.00816.83
8.0.190.0090.00316.84
8.0.180.0040.00716.75
8.0.170.0080.00016.86
8.0.160.0000.00716.84
8.0.150.0070.00016.83
8.0.140.0040.00416.61
8.0.130.0060.00013.25
8.0.120.0040.00416.88
8.0.110.0030.00316.71
8.0.100.0000.00816.63
8.0.90.0000.00716.69
8.0.80.0090.01216.77
8.0.70.0040.00416.63
8.0.60.0000.00816.69
8.0.50.0000.00816.78
8.0.30.0130.00717.07
8.0.20.0070.01217.40
8.0.10.0030.00316.90
8.0.00.0100.00716.84
7.4.330.0030.00315.55
7.4.320.0040.00416.57
7.4.300.0030.00316.41
7.4.290.0000.00716.50
7.4.280.0090.00016.37
7.4.270.0000.00716.54
7.4.260.0030.00313.23
7.4.250.0040.00416.49
7.4.240.0030.00316.41
7.4.230.0000.00716.42
7.4.220.0150.00316.42
7.4.210.0080.00616.55
7.4.200.0070.00016.60
7.4.160.0090.00616.37
7.4.150.0100.01017.40
7.4.140.0110.00517.86
7.4.130.0090.01116.45
7.4.120.0120.00716.38
7.4.110.0070.01016.44
7.4.100.0060.01216.57
7.4.90.0110.00716.50
7.4.80.0080.00819.39
7.4.70.0150.00916.47
7.4.60.0030.01316.35
7.4.50.0100.00616.60
7.4.40.0060.01016.32
7.4.30.0130.00316.16
7.4.00.0030.01315.06
7.3.330.0050.00013.00
7.3.320.0050.00013.05
7.3.310.0060.00015.98
7.3.300.0070.00016.11
7.3.290.0080.00616.10
7.3.280.0090.00816.13
7.3.270.0100.00717.40
7.3.260.0100.01016.10
7.3.250.0090.01116.12
7.3.240.0150.00316.23
7.3.230.0120.01216.10
7.3.210.0030.01316.24
7.3.200.0040.01516.13
7.3.190.0150.00616.27
7.3.180.0160.00016.09
7.3.170.0120.00416.51
7.3.160.0080.00716.25
7.2.330.0120.00616.63
7.2.320.0140.00316.50
7.2.310.0060.01116.68
7.2.300.0110.00616.56
7.2.290.0090.00916.50
7.2.60.0150.00016.45
7.2.00.0060.00619.27
7.1.200.0090.00315.83
7.1.100.0040.00818.04
7.1.70.0000.00816.95
7.1.60.0170.01033.15
7.1.50.0170.00732.86
7.1.40.0930.01332.51
7.1.30.0900.01732.58
7.1.20.0700.01732.58
7.1.10.0070.00314.67
7.1.00.0030.00714.77
7.0.200.0530.00714.98
7.0.190.0030.00714.54
7.0.180.0800.00314.41
7.0.170.0730.00714.31
7.0.160.0830.01314.24
7.0.150.0030.00714.29
7.0.140.0870.00714.47
7.0.130.0870.00714.60
7.0.120.0030.01314.78
7.0.110.0070.00714.39
7.0.100.0200.01014.46
7.0.90.0830.01014.62
7.0.80.0070.00314.51
7.0.70.0000.01014.40
7.0.60.0670.01014.38
7.0.50.0030.01014.43
7.0.40.0700.01014.88
7.0.30.0730.01314.70
7.0.20.0970.01014.82
7.0.10.0800.00714.62
7.0.00.0670.01314.52

preferences:
55.8 ms | 401 KiB | 5 Q