3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'setup_file_foobar'; if (preg_match('~^(setup|teardown)_?(file|run)?_?(.*)~i', $name, $matches)) { print_r($matches); }

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.0040.01116.50
8.3.50.0000.01718.42
8.3.40.0110.00418.96
8.3.30.0070.00718.79
8.3.20.0020.00524.18
8.3.10.0040.00424.66
8.3.00.0050.00326.16
8.2.180.0130.00725.92
8.2.170.0060.00918.93
8.2.160.0100.01022.96
8.2.150.0080.00025.66
8.2.140.0090.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00426.16
8.2.110.0060.00321.31
8.2.100.0080.00417.87
8.2.90.0040.00417.75
8.2.80.0060.00618.83
8.2.70.0030.00517.63
8.2.60.0040.00417.93
8.2.50.0080.00017.98
8.2.40.0050.00319.88
8.2.30.0000.00717.74
8.2.20.0000.00719.46
8.2.10.0050.00219.00
8.2.00.0000.00719.17
8.1.280.0090.00625.92
8.1.270.0080.00023.99
8.1.260.0040.00726.35
8.1.250.0080.00028.09
8.1.240.0160.00719.38
8.1.230.0040.00817.66
8.1.220.0050.00317.74
8.1.210.0030.00618.77
8.1.200.0040.00417.23
8.1.190.0000.00817.23
8.1.180.0030.00618.10
8.1.170.0060.00317.62
8.1.160.0050.00318.93
8.1.150.0070.00018.71
8.1.140.0050.00317.51
8.1.130.0070.00018.84
8.1.120.0070.00017.48
8.1.110.0000.00717.55
8.1.100.0100.00017.46
8.1.90.0020.00517.59
8.1.80.0050.00217.43
8.1.70.0080.00017.50
8.1.60.0040.00417.64
8.1.50.0060.00317.58
8.1.40.0000.00717.61
8.1.30.0040.00417.69
8.1.20.0090.00017.72
8.1.10.0030.00617.65
8.1.00.0040.00417.62
8.0.300.0000.00718.77
8.0.290.0000.01016.75
8.0.280.0070.00018.43
8.0.270.0040.00416.93
8.0.260.0060.00018.34
8.0.250.0080.00017.10
8.0.240.0030.00317.08
8.0.230.0070.00016.99
8.0.220.0080.00016.96
8.0.210.0030.00316.88
8.0.200.0030.00316.90
8.0.190.0060.00316.91
8.0.180.0040.00417.03
8.0.170.0040.00416.88
8.0.160.0000.00717.00
8.0.150.0040.00316.98
8.0.140.0040.00416.91
8.0.130.0000.00613.46
8.0.120.0060.00316.84
8.0.110.0000.00816.80
8.0.100.0000.00716.88
8.0.90.0040.00416.94
8.0.80.0000.00716.98
8.0.70.0040.00416.88
8.0.60.0040.00416.81
8.0.50.0070.00016.94
8.0.30.0040.00416.99
8.0.20.0090.00017.05
8.0.10.0060.00317.00
8.0.00.0000.00817.10
7.4.330.0000.00515.55
7.4.320.0030.00316.64
7.4.300.0000.00616.65
7.4.290.0000.00716.68
7.4.280.0000.00716.56
7.4.270.0080.00016.75
7.4.260.0070.00013.38
7.4.250.0070.00016.61
7.4.240.0030.00516.57
7.4.230.0040.00416.66
7.4.220.0000.00816.56
7.4.210.0080.00016.77
7.4.200.0040.00416.66
7.4.190.0040.00416.81
7.4.180.0070.00016.69
7.4.160.0000.00816.66
7.4.150.0000.00816.72
7.4.140.0040.00416.63
7.4.130.0030.00316.51
7.4.120.0000.00816.66
7.4.110.0040.00416.61
7.4.100.0000.00716.76
7.4.90.0020.00516.70
7.4.80.0000.00716.56
7.4.70.0000.00716.53
7.4.60.0030.00316.79
7.4.50.0070.00016.46
7.4.40.0000.00716.51
7.4.30.0070.00016.60
7.4.20.0030.00316.55
7.4.10.0080.00016.58
7.4.00.0000.00716.65
7.3.330.0080.00016.32
7.3.320.0030.00313.02
7.3.310.0030.00316.15
7.3.300.0000.00716.21
7.3.290.0030.00316.13
7.3.280.0050.00316.43
7.3.270.0000.00716.35
7.3.260.0000.00816.33
7.3.250.0030.00616.13
7.3.240.0060.00316.23
7.3.230.0080.00016.33
7.3.220.0000.00916.19
7.3.210.0040.00416.34
7.3.200.0030.00316.15
7.3.190.0050.00316.15
7.3.180.0050.00316.05
7.3.170.0040.00416.10
7.3.160.0040.00416.29
7.3.150.0000.00716.37
7.3.140.0070.00016.07
7.3.130.0000.00716.37
7.3.120.0000.00716.29
7.3.110.0000.00815.99
7.3.100.0050.00216.16
7.3.90.0030.00516.48
7.3.80.0070.00016.36
7.3.70.0050.00316.34
7.3.60.0030.00316.38
7.3.50.0030.00316.32
7.3.40.0030.00316.35
7.3.30.0070.00016.46
7.3.20.0050.00318.32
7.3.10.0000.00818.25
7.3.00.0040.00417.95

preferences:
59.07 ms | 401 KiB | 5 Q