3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(fnmatch( 'C:\dvl\Workspace\phpstan-src-staabm\tests\PHPStan\File\*', 'C:\dvl\Workspace\phpstan-src-staabm\tests\PHPStan\File/data/excluded-file.php', FNM_NOESCAPE | FNM_CASEFOLD )); var_dump(fnmatch( 'C:\dvl\Workspace\phpstan-src-staabm\tests\PHPStan\File\*', 'C:\dvl\Workspace\phpstan-src-staabm\tests\PHPStan\File\data\excluded-file.php', FNM_NOESCAPE | FNM_CASEFOLD ));

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.10.0120.00619.54
8.5.00.0140.00919.93
8.4.150.0000.00314.05
8.4.140.0080.01217.15
8.4.130.0060.00417.73
8.4.120.0130.00820.65
8.4.110.0100.00719.09
8.4.100.0140.00617.70
8.4.90.0040.00417.80
8.4.80.0130.00717.63
8.4.70.0050.00419.56
8.4.60.0120.00917.45
8.4.50.0110.01019.26
8.4.40.0060.01317.60
8.4.30.0090.01023.96
8.4.20.0130.00719.45
8.4.10.0080.00019.20
8.3.280.0020.00014.05
8.3.270.0110.00816.42
8.3.260.0130.00716.41
8.3.250.0110.00816.77
8.3.240.0110.00916.45
8.3.230.0080.01116.39
8.3.220.0090.01016.84
8.3.210.0110.00816.72
8.3.200.0140.00516.59
8.3.190.0040.00516.43
8.3.180.0110.00816.54
8.3.170.0070.01116.95
8.3.160.0100.00720.55
8.3.150.0150.00417.10
8.3.140.0040.00817.20
8.3.130.0160.00318.32
8.3.120.0130.00717.10
8.3.110.0320.00517.38
8.3.100.0250.00817.25
8.3.90.0290.00417.37
8.3.80.0260.00817.42
8.3.70.0230.00817.27
8.3.60.0260.00017.13
8.3.50.0200.00217.29
8.3.40.0170.00918.13
8.3.30.0150.00918.03
8.3.20.0140.00918.33
8.3.10.0180.00618.10
8.3.00.0110.00719.18
8.2.290.0130.00618.61
8.2.280.0080.01216.34
8.2.270.0040.01216.69
8.2.260.0110.00717.03
8.2.250.0050.00318.23
8.2.240.0060.00318.90
8.2.230.0180.00617.25
8.2.220.0180.00817.49
8.2.210.0180.00917.06
8.2.200.0210.01017.31
8.2.190.0200.00417.41
8.2.180.0170.00616.97
8.2.170.0220.00218.45
8.2.160.0200.00318.27
8.2.150.0090.01218.19
8.2.140.0100.00818.34
8.2.130.0180.00018.31
8.2.120.0160.00518.04
8.2.110.0150.00418.47
8.2.100.0120.00918.15
8.2.90.0200.00818.34
8.2.80.0220.00717.34
8.2.70.0220.00617.26
8.2.60.0270.00617.44
8.2.50.0200.00717.36
8.2.40.0240.00517.40
8.2.30.0150.00617.44
8.2.20.0200.00417.26
8.2.10.0150.00517.23
8.2.00.0230.00317.19
8.1.330.0110.00816.25
8.1.320.0100.00921.79
8.1.310.0040.00416.36
8.1.300.0030.00719.34
8.1.290.0160.01015.79
8.1.280.0170.00515.76
8.1.270.0170.00517.15
8.1.260.0170.00417.26
8.1.250.0150.00517.06
8.1.240.0170.00217.20
8.1.230.0110.00717.11
8.1.220.0230.00317.05
8.1.210.0250.00217.03
8.1.200.0160.00416.96
8.1.190.0230.00516.83
8.1.180.0200.00116.90
8.1.170.0230.00517.03
8.1.160.0180.00617.17
8.1.150.0170.01117.05
8.1.140.0190.00916.99
8.1.130.0210.00716.97
8.1.120.0170.00817.11
8.1.110.0170.00817.06
8.1.100.0180.00217.09
8.1.90.0220.00517.05
8.1.80.0170.00316.96
8.1.70.0240.00716.98
8.1.60.0270.00316.99
8.1.50.0140.00617.06
8.1.40.0140.00517.13
8.1.30.0190.00017.24
8.1.20.0150.00517.14
8.1.10.0160.00717.07
8.1.00.0210.00616.71

preferences:
35.99 ms | 403 KiB | 5 Q