3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(filter_var( ['loadPlugins' => 'test'], FILTER_CALLBACK, [ 'options' => function ($value) { if (is_array($value) === true) { return $value; } else { return null; } }, 'flags' => FILTER_NULL_ON_FAILURE ] ) );

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.20.0030.00419.89
8.5.10.0120.00616.46
8.5.00.0100.01119.77
8.4.170.0130.00920.41
8.4.160.0110.00920.46
8.4.150.0030.00014.05
8.4.140.0100.01117.53
8.4.130.0130.00717.91
8.4.120.0040.00720.47
8.4.110.0120.00822.47
8.4.100.0110.01124.19
8.4.90.0140.00718.55
8.4.80.0040.00419.64
8.4.70.0160.00517.97
8.4.60.0110.00918.58
8.4.50.0110.00918.52
8.4.40.0060.01317.76
8.4.30.0090.00918.76
8.4.20.0070.01421.46
8.4.10.0330.00517.96
8.3.300.0110.00819.21
8.3.290.0080.01220.84
8.3.280.0140.01018.35
8.3.270.0090.01016.68
8.3.260.0090.00916.79
8.3.250.0110.00718.98
8.3.240.0100.00816.58
8.3.230.0090.00916.77
8.3.220.0120.00617.01
8.3.210.0090.01018.53
8.3.200.0060.00316.60
8.3.190.0130.00417.29
8.3.180.0030.00518.54
8.3.170.0090.00917.29
8.3.160.0070.01120.63
8.3.150.0060.01017.20
8.3.140.0230.00617.10
8.3.130.0250.00417.03
8.3.120.0170.00617.13
8.3.110.0200.00516.30
8.3.100.0240.00616.44
8.3.90.0250.00417.07
8.3.80.0200.00716.56
8.3.70.0220.00716.45
8.3.60.0240.00416.53
8.3.50.0250.00216.47
8.3.40.0200.00417.12
8.3.30.0190.00517.27
8.3.20.0210.00417.30
8.3.10.0190.00517.26
8.3.00.0130.00317.33
8.2.300.0130.00720.18
8.2.290.0100.00820.17
8.2.280.0080.01118.53
8.2.270.0120.00616.64
8.2.260.0150.00516.80
8.2.250.0150.00816.58
8.2.240.0200.00316.49
8.2.230.0210.00316.12
8.2.220.0180.00616.27
8.2.210.0210.00316.31
8.2.200.0180.00716.86
8.2.190.0200.00616.53
8.2.180.0180.00617.04
8.2.170.0210.00517.54
8.2.160.0190.00617.49
8.2.150.0240.00217.97
8.2.140.0230.00417.33
8.2.130.0190.00717.18
8.2.120.0190.00717.40
8.2.110.0200.00617.39
8.2.100.0190.00617.40
8.2.90.0210.00418.20
8.2.80.0210.00517.39
8.2.70.0270.00317.23
8.2.60.0170.00617.31
8.2.50.0210.00517.31
8.2.40.0220.00217.54
8.2.30.0200.00317.38
8.2.20.0160.00717.29
8.2.10.0130.01017.32
8.2.00.0150.00917.48
8.1.340.0130.00720.15
8.1.330.0120.00821.94
8.1.320.0140.00716.21
8.1.310.0200.00516.14
8.1.300.0210.00316.05
8.1.290.0120.01115.88
8.1.280.0170.00715.87
8.1.270.0190.00716.96
8.1.260.0180.00917.16
8.1.250.0200.00817.70
8.1.240.0140.00617.18
8.1.230.0190.00217.64
8.1.220.0160.00417.28
8.1.210.0180.00317.22
8.1.200.0220.00217.01
8.1.190.0180.00717.17
8.1.180.0220.00417.62
8.1.170.0160.00717.06
8.1.160.0130.00817.63
8.1.150.0160.00717.03
8.1.140.0120.00717.05
8.1.130.0120.00517.09
8.1.120.0120.00317.09
8.1.110.0130.00317.05
8.1.100.0110.00617.14
8.1.90.0130.00417.27
8.1.80.0180.00617.24
8.1.70.0190.00717.77
8.1.60.0150.00817.37
8.1.50.0220.00417.18
8.1.40.0210.00517.12
8.1.30.0160.00817.34
8.1.20.0190.00517.16
8.1.10.0180.00717.15
8.1.00.0200.00617.11

preferences:
74.61 ms | 403 KiB | 5 Q