3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(filter_var('::ffff:0:1', FILTER_VALIDATE_IP, FILTER_FLAG_NO_RES_RANGE));

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.5.30.0090.00819.64
8.5.20.0120.00620.16
8.5.10.0120.00916.68
8.5.00.0130.00919.80
8.4.180.0140.00822.01
8.4.170.0100.01023.92
8.4.160.0120.01120.65
8.4.150.0030.00014.05
8.4.140.0110.01017.73
8.4.130.0110.01017.71
8.4.120.0240.00719.13
8.4.110.0240.00918.21
8.4.100.0170.00417.56
8.4.90.0270.00717.55
8.4.80.0250.00917.63
8.4.70.0270.00818.38
8.4.60.0280.00717.44
8.4.50.0160.00817.91
8.4.40.0270.00717.42
8.4.30.0210.00818.14
8.4.20.0230.00518.57
8.4.10.0240.01017.29
8.3.300.0110.01020.70
8.3.290.0120.00820.84
8.3.280.0150.00518.25
8.3.270.0160.01016.54
8.3.260.0120.00716.41
8.3.250.0130.00518.74
8.3.240.0260.00716.44
8.3.230.0270.00616.35
8.3.220.0230.00716.65
8.3.210.0250.00816.39
8.3.200.0260.00817.47
8.3.190.0230.00616.65
8.3.180.0210.00817.59
8.3.170.0150.00616.74
8.3.160.0240.00616.37
8.3.150.0200.00816.57
8.3.140.0260.00416.22
8.3.130.0240.00616.35
8.3.120.0200.00216.24
8.3.110.0220.00216.39
8.3.100.0260.00516.39
8.3.90.0290.00416.43
8.3.80.0250.00516.36
8.3.70.0250.00416.33
8.3.60.0230.00516.35
8.3.50.0160.00516.56
8.3.40.0230.00417.32
8.3.30.0110.00817.28
8.3.20.0140.00317.25
8.3.10.0180.00417.22
8.3.00.0130.00217.29
8.2.300.0090.01220.28
8.2.290.0190.01118.32
8.2.280.0210.00617.38
8.2.270.0200.00416.44
8.2.260.0190.00616.19
8.2.250.0220.00316.36
8.2.240.0190.00516.25
8.2.230.0220.00416.25
8.2.220.0190.00716.18
8.2.210.0200.00516.02
8.2.200.0200.00416.25
8.2.190.0210.00516.28
8.2.180.0130.00416.43
8.2.170.0170.00617.42
8.2.160.0200.00517.36
8.2.150.0150.00317.46
8.2.140.0180.00517.19
8.2.130.0140.00717.16
8.2.120.0160.00217.39
8.2.110.0170.00317.34
8.2.100.0180.00617.28
8.2.90.0200.00617.38
8.2.80.0180.00717.18
8.2.70.0200.00417.19
8.2.60.0200.00317.95
8.2.50.0120.00717.24
8.2.40.0170.00517.35
8.2.30.0180.00517.03
8.2.20.0160.00717.10
8.2.10.0140.00817.29
8.2.00.0180.00317.15
8.1.340.0120.00817.45
8.0.80.0320.00816.53

preferences:
38.89 ms | 403 KiB | 5 Q