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.60.0070.01418.68
8.3.50.0110.00921.12
8.3.40.0110.00418.55
8.3.30.0180.00418.56
8.3.20.0080.00019.90
8.3.10.0080.00020.48
8.3.00.0080.00023.48
8.2.180.0120.00618.66
8.2.170.0150.00322.96
8.2.160.0110.00720.52
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0070.00020.98
8.2.110.0000.01021.03
8.2.100.0120.00019.64
8.2.90.0000.00819.07
8.2.80.0050.00317.97
8.2.70.0090.00017.88
8.2.60.0040.00417.93
8.2.50.0040.00419.46
8.2.40.0000.00920.42
8.2.30.0020.00520.45
8.2.20.0000.00717.88
8.2.10.0040.00418.05
8.2.00.0050.00218.16
8.1.280.0120.00325.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0150.00621.35
8.1.230.0070.00419.30
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0060.00317.25
8.1.190.0000.00817.23
8.1.180.0070.00018.10
8.1.170.0050.00318.66
8.1.160.0030.00318.75
8.1.150.0030.00320.18
8.1.140.0000.00719.56
8.1.130.0040.00419.07
8.1.120.0040.00417.54
8.1.110.0060.00317.52
8.1.100.0030.00517.50
8.1.90.0030.00617.58
8.1.80.0030.00517.49
8.1.70.0000.00817.47
8.1.60.0050.00317.69
8.1.50.0070.00017.59
8.1.40.0030.00617.58
8.1.30.0000.00817.71
8.1.20.0000.00817.62
8.1.10.0000.00717.59
8.1.00.0060.00617.58
8.0.300.0050.00318.77
8.0.290.0040.00416.75
8.0.280.0000.00718.41
8.0.270.0030.00317.25
8.0.260.0030.00317.14
8.0.250.0040.00317.04
8.0.240.0070.00016.92
8.0.230.0040.00416.98
8.0.220.0080.00016.96
8.0.210.0030.00316.95
8.0.200.0030.00317.05
8.0.190.0050.00216.91
8.0.180.0040.00416.91
8.0.170.0000.00717.04
8.0.160.0040.00416.96
8.0.150.0070.00016.78
8.0.140.0000.00716.90
8.0.130.0000.00513.32
8.0.120.0000.00816.92
8.0.110.0030.00517.00
8.0.100.0000.00716.85
8.0.90.0000.00716.79
8.0.80.0000.01516.93
8.0.70.0040.00416.90
8.0.60.0080.00017.01
8.0.50.0070.00016.87
8.0.30.0080.01217.13
8.0.20.0090.01017.40
8.0.10.0040.00417.11
8.0.00.0070.01316.91
7.4.330.0000.00615.55
7.4.320.0060.00016.54
7.4.300.0000.00616.59
7.4.290.0060.00316.65
7.4.280.0030.00716.70
7.4.270.0040.00416.74
7.4.260.0000.00716.68
7.4.250.0040.00416.51
7.4.240.0030.00316.66
7.4.230.0070.00016.63
7.4.220.0110.00716.71
7.4.210.0090.00716.69
7.4.200.0070.00016.72
7.4.160.0110.00716.67
7.4.150.0140.00317.40
7.4.140.0090.00917.86
7.4.130.0060.01216.65
7.4.120.0070.01016.60
7.4.110.0050.01316.58
7.4.100.0110.00916.59
7.4.90.0100.01316.63
7.4.80.0030.01519.39
7.4.70.0090.00916.52
7.4.60.0040.01316.77
7.4.50.0030.01216.43
7.4.40.0100.00616.49
7.4.30.0080.00816.70
7.4.00.0030.00915.25
7.3.330.0000.00513.03
7.3.320.0060.00013.13
7.3.310.0070.00016.30
7.3.300.0070.00016.34
7.3.290.0030.00316.14
7.3.280.0100.00916.24
7.3.270.0100.01017.40
7.3.260.0090.00816.41
7.3.250.0100.01016.54
7.3.240.0080.00816.66
7.3.230.0090.00916.48
7.3.210.0070.01016.52
7.3.200.0100.00616.39
7.3.190.0030.01216.49
7.3.180.0170.00316.26
7.3.170.0140.00316.26
7.3.160.0030.01316.31
7.2.330.0130.00316.69
7.2.320.0090.00916.79
7.2.310.0090.00916.57
7.2.300.0030.01616.46
7.2.290.0070.01016.55
7.2.60.0040.01116.82
7.2.50.0000.01416.80
7.1.200.0050.00516.00
7.1.70.0000.00817.28
7.1.60.0080.00417.31
7.1.20.0230.06040.35
7.1.10.0230.08322.20
7.1.00.0130.05322.38
7.0.200.0030.01316.98
7.0.160.0100.06021.86
7.0.150.0170.06021.81
7.0.140.0100.06021.86
7.0.130.0100.05321.86
7.0.120.0100.05721.82
7.0.110.0100.06021.88
7.0.100.0100.05321.90
7.0.90.0070.06021.89
7.0.80.0100.06721.88
7.0.70.0100.06721.75
7.0.60.0170.06721.76
7.0.50.0000.07021.95
7.0.40.0000.06721.87
7.0.30.0100.05721.76
7.0.20.0030.06321.93
7.0.10.0230.04321.88
7.0.00.0100.06021.83

preferences:
62.84 ms | 401 KiB | 5 Q