3v4l.org

run code in 300+ PHP versions simultaneously
<?php $inputP = '[payer_id=1]'; $input = '[payer_id=1] [ST#3434343] [category_id=12]'; $output = preg_match("/(_*)/", $inputP, $matches); var_dump($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.40.0070.00718.62
8.3.30.0110.00418.83
8.3.20.0000.00919.88
8.3.10.0080.00020.56
8.3.00.0090.00023.70
8.2.170.0070.01022.96
8.2.160.0090.00920.39
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00420.47
8.2.120.0060.00326.35
8.2.110.0060.00319.41
8.2.100.0070.00719.70
8.2.90.0080.00019.07
8.2.80.0000.00817.97
8.2.70.0110.00017.75
8.2.60.0000.00817.80
8.2.50.0040.00419.34
8.2.40.0040.00420.42
8.2.30.0040.00420.33
8.2.20.0040.00418.12
8.2.10.0040.00418.18
8.2.00.0070.00018.23
8.1.270.0000.00820.65
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0030.00621.43
8.1.230.0060.00619.36
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0000.00917.23
8.1.190.0030.00517.36
8.1.180.0050.00318.10
8.1.170.0000.00918.62
8.1.160.0000.00718.85
8.1.150.0070.00020.20
8.1.140.0040.00419.59
8.1.130.0000.00719.08
8.1.120.0000.00717.54
8.1.110.0040.00417.46
8.1.100.0040.00417.51
8.1.90.0040.00417.48
8.1.80.0040.00417.46
8.1.70.0040.00417.46
8.1.60.0040.00417.70
8.1.50.0000.00817.59
8.1.40.0060.00317.66
8.1.30.0080.00017.75
8.1.20.0040.00417.68
8.1.10.0030.00517.72
8.1.00.0000.01017.45
8.0.300.0000.00818.77
8.0.290.0070.00016.75
8.0.280.0000.00718.32
8.0.270.0000.00717.20
8.0.260.0030.00317.21
8.0.250.0030.00317.01
8.0.240.0070.00016.87
8.0.230.0050.00316.93
8.0.220.0000.00717.00
8.0.210.0000.00716.92
8.0.200.0030.00316.92
8.0.190.0080.00016.93
8.0.180.0000.00716.98
8.0.170.0050.00217.02
8.0.160.0000.00716.86
8.0.150.0030.00316.86
8.0.140.0040.00416.91
8.0.130.0060.00013.45
8.0.120.0000.00716.89
8.0.110.0000.00716.95
8.0.100.0000.00716.87
8.0.90.0030.00516.80
8.0.80.0070.00817.03
8.0.70.0000.00816.98
8.0.60.0080.00016.79
8.0.50.0040.00417.01
8.0.30.0130.00617.29
8.0.20.0120.00817.40
8.0.10.0070.00017.09
8.0.00.0100.01016.72
7.4.330.0000.00515.55
7.4.320.0030.00316.69
7.4.300.0070.00016.79
7.4.290.0070.00016.65
7.4.280.0030.00616.71
7.4.270.0070.00016.75
7.4.260.0070.00016.52
7.4.250.0030.00316.61
7.4.240.0030.00316.66
7.4.230.0000.00716.73
7.4.220.0120.00616.68
7.4.210.0090.00516.60
7.4.200.0030.00316.45
7.4.160.0090.00816.40
7.4.150.0060.01917.40
7.4.140.0140.00417.86
7.4.130.0080.01216.64
7.4.120.0100.00816.61
7.4.110.0070.01716.71
7.4.100.0140.00316.51
7.4.90.0230.00016.62
7.4.80.0100.01319.39
7.4.70.0090.00916.75
7.4.60.0070.01016.72
7.4.50.0060.00616.67
7.4.40.0130.00316.65
7.4.30.0030.01416.49
7.4.00.0030.01214.91
7.3.330.0030.00313.04
7.3.320.0000.00513.20
7.3.310.0000.00716.38
7.3.300.0030.00316.31
7.3.290.0070.00016.24
7.3.280.0090.00816.27
7.3.270.0100.00717.40
7.3.260.0100.00816.45
7.3.250.0100.00916.24
7.3.240.0120.00516.52
7.3.230.0130.00716.45
7.3.210.0110.00516.61
7.3.200.0130.00316.34
7.3.190.0030.01216.55
7.3.180.0130.00616.25
7.3.170.0130.01016.80
7.3.160.0080.00816.45
7.3.10.0140.00016.74
7.3.00.0040.00816.69
7.2.330.0140.00316.59
7.2.320.0080.00816.67
7.2.310.0130.00316.50
7.2.300.0100.00716.61
7.2.290.0130.00616.63
7.2.130.0070.00716.92
7.2.120.0000.01416.99
7.2.110.0120.00316.64
7.2.100.0030.00616.94
7.2.90.0080.00617.10
7.2.80.0050.01016.75
7.2.70.0040.01116.67
7.2.60.0160.00716.82
7.2.50.0060.00716.91
7.2.40.0040.01517.02
7.2.30.0000.01416.79
7.2.20.0110.00716.91
7.2.10.0030.01017.00
7.2.00.0040.01116.99
7.1.250.0070.00715.79
7.1.200.0080.00415.73
7.1.70.0040.01117.08
7.1.60.0100.00317.41
7.1.20.0230.06340.38
7.1.10.0170.05022.19
7.1.00.0070.07722.34
7.0.200.0030.01016.89
7.0.160.0030.06721.86
7.0.150.0100.05721.90
7.0.140.0100.06021.99
7.0.130.1270.06721.91
7.0.120.2000.06720.04
7.0.110.0200.06021.90
7.0.100.0070.07721.86
7.0.90.0170.07021.86
7.0.80.0170.07022.02
7.0.70.0100.05721.99
7.0.60.2370.08319.95
7.0.50.0100.08021.90
7.0.40.1900.07321.93
7.0.30.0170.04721.91
7.0.20.1000.06321.87
7.0.10.0100.06721.92
7.0.00.0070.06321.83

preferences:
57.01 ms | 400 KiB | 5 Q