3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "[abc - def - ghi - jkl]"; preg_match('/\[([^\]]*)\]/', $str, $re); $strs = split(' - ', $re[1]); print_r($strs); $t = array('(1) 1 = aseptische Eingriffe' ,'(1) 1 = mit HLM' ,'(1) nein' ,'(2) 2 = Vorhofflimmern' ,'(3) 2 = ja, COPD ohne Dauermedikation' ,'(3) 2 = ja, innerhalb der letzten 3 Wochen' ,'(4) 3 = 3-Gefäßerkrankung' ,'(4) 4 = Patient mit inaktivierender Allgemeinerkrankung, die eine ständige Lebensbedrohung darstellt' ,'(5) 4 = ja, länger als 91 Tage' ,'(9) 9 = Entlassung in eine Rehabilitationseinrichtung'); function mapExportValue($exportvalue) { $reg = '\(([^\)]+)\)'; }

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.0200.00316.63
8.3.50.0000.01618.43
8.3.40.0140.00719.08
8.3.30.0040.01118.88
8.3.20.0040.00420.29
8.3.10.0080.00023.70
8.3.00.0040.00419.97
8.2.180.0060.01018.79
8.2.170.0100.01022.96
8.2.160.0070.00720.55
8.2.150.0000.00824.18
8.2.140.0030.00624.66
8.2.130.0000.00821.07
8.2.120.0000.00826.35
8.2.110.0030.00620.56
8.2.100.0060.00617.93
8.2.90.0040.00419.17
8.2.80.0050.00317.97
8.2.70.0030.00617.75
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0030.00621.28
8.2.30.0000.00720.60
8.2.20.0030.00617.73
8.2.10.0040.00418.11
8.2.00.0030.00517.96
8.1.280.0070.00725.92
8.1.270.0040.00418.78
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0060.00323.96
8.1.230.0060.00618.94
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0000.00817.48
8.1.190.0000.00817.53
8.1.180.0030.00518.10
8.1.170.0000.00918.62
8.1.160.0000.00820.73
8.1.150.0030.00518.77
8.1.140.0000.00819.55
8.1.130.0030.00317.68
8.1.120.0020.00517.58
8.1.110.0000.00817.54
8.1.100.0000.00817.44
8.1.90.0000.00717.46
8.1.80.0060.00317.50
8.1.70.0000.00717.51
8.1.60.0000.00817.66
8.1.50.0040.00417.69
8.1.40.0070.00317.66
8.1.30.0000.00817.81
8.1.20.0060.00317.83
8.1.10.0000.00717.73
8.1.00.0000.00817.60
8.0.300.0000.00718.77
8.0.290.0060.00316.75
8.0.280.0030.00318.41
8.0.270.0000.00717.14
8.0.260.0000.00717.22
8.0.250.0030.00317.08
8.0.240.0000.00816.96
8.0.230.0030.00817.07
8.0.220.0000.00717.04
8.0.210.0030.00316.93
8.0.200.0030.00316.98
8.0.190.0040.00417.04
8.0.180.0040.00416.95
8.0.170.0060.00317.08
8.0.160.0040.00417.14
8.0.150.0040.00417.07
8.0.140.0060.00617.05
8.0.130.0000.00513.41
8.0.120.0000.00717.05
8.0.110.0000.00717.04
8.0.100.0070.00017.10
8.0.90.0040.00417.11
8.0.80.0060.00917.00
8.0.70.0040.00416.93
8.0.60.0040.00416.94
8.0.50.0030.00317.06
8.0.30.0120.00917.27
8.0.20.0140.00717.41
8.0.10.0040.00417.07
8.0.00.0090.01117.07
7.4.330.0000.00516.71
7.4.320.0030.00316.56
7.4.300.0060.00016.70
7.4.290.0070.00016.73
7.4.280.0040.00416.81
7.4.270.0000.00716.82
7.4.260.0050.00216.82
7.4.250.0040.00416.79
7.4.240.0040.00316.77
7.4.230.0000.00716.71
7.4.220.0110.00716.71
7.4.210.0030.01416.88
7.4.200.0040.00416.81
7.4.160.0060.00916.78
7.4.150.0120.00617.40
7.4.140.0100.00917.86
7.4.130.0180.00516.69
7.4.120.0070.01116.70
7.4.110.0090.00916.70
7.4.100.0040.01216.72
7.4.90.0090.00916.61
7.4.80.0110.00619.39
7.4.70.0060.01016.87
7.4.60.0090.00916.86
7.4.50.0080.00816.71
7.4.40.0160.00616.53
7.4.30.0060.01016.77
7.4.00.0100.00314.94
7.3.330.0030.00313.42
7.3.320.0000.00513.32
7.3.310.0030.00316.31
7.3.300.0070.00016.34
7.3.290.0070.01016.40
7.3.280.0090.00816.47
7.3.270.0130.01017.40
7.3.260.0120.00616.53
7.3.250.0130.00716.67
7.3.240.0100.01216.37
7.3.230.0170.00716.68
7.3.210.0070.01016.54
7.3.200.0100.00716.50
7.3.190.0090.00916.58
7.3.180.0130.00316.68
7.3.170.0140.00316.55
7.3.160.0100.00616.66
7.2.330.0160.01016.76
7.2.320.0120.00216.52
7.2.310.0160.00616.56
7.2.300.0110.00616.52
7.2.290.0120.00616.68
7.2.110.0190.00416.53
7.2.80.0030.01016.63
7.2.60.0060.00916.79
7.2.00.0040.00819.57
7.1.200.0070.00716.09
7.1.100.0000.01118.05
7.1.70.0040.00717.23
7.1.60.0070.01819.13
7.1.50.0110.01117.30
7.1.00.0030.09322.41
7.0.200.0100.00016.52
7.0.60.0030.04319.95
7.0.50.0100.08017.99
7.0.40.0100.03720.04
7.0.30.0270.07020.09
7.0.20.0270.04020.18
7.0.10.0000.08320.22
7.0.00.0130.07320.11
5.6.210.0070.07320.55
5.6.200.0070.08318.27
5.6.190.0200.06320.57
5.6.180.0070.05020.48
5.6.170.0300.05020.56
5.6.160.0000.04720.39
5.6.150.0100.07718.15
5.6.140.0070.06718.14
5.6.130.0070.08018.18
5.6.120.0130.07721.13
5.6.110.0000.04320.90
5.6.100.0030.09020.98
5.6.90.0070.07021.11
5.6.80.0100.06020.54
5.5.350.3730.04020.41
5.5.340.0100.06717.96
5.5.330.0000.04320.25
5.5.320.0570.06720.34
5.5.310.0130.04020.26
5.5.300.0030.06717.94
5.5.290.0070.05017.93
5.5.280.0100.08320.73
5.5.270.0070.07320.80
5.5.260.0100.06720.77
5.5.250.0070.03720.79
5.5.240.0170.07320.04

preferences:
43.78 ms | 400 KiB | 5 Q