3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = "Hai FIELDMERGE_nickname, Your city is FIELDMERGE_city and your gender is FIELDMERGE_gender. webinar title is FIELDMERGE_extraparam1 Again your name is FIELDMERGE_nickname"; $arr = explode("FIELDMERGE_", $data); array_shift($arr); foreach($arr as $e) { $a = explode(" ", $e); $res[] = preg_replace('/[^a-z\d]/i', '', array_shift($a)); //$res[] = trim(array_shift($a)); } print_r($res);

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.00818.45
8.5.00.0150.00720.27
8.4.150.0020.00014.05
8.4.140.0130.00917.89
8.4.130.0140.00617.74
8.4.120.0150.00522.65
8.4.110.0080.00722.63
8.4.100.0100.00717.86
8.4.90.0090.00920.54
8.4.80.0080.00217.80
8.4.70.0100.01018.02
8.4.60.0090.01318.91
8.4.50.0120.00919.60
8.4.40.0040.01817.63
8.4.30.0090.01219.70
8.4.20.0070.01320.82
8.4.10.0090.00019.82
8.3.280.0080.01218.51
8.3.270.0100.01016.58
8.3.260.0140.00616.52
8.3.250.0140.00419.01
8.3.240.0120.00816.68
8.3.230.0140.00616.75
8.3.220.0100.00817.25
8.3.210.0100.00816.74
8.3.200.0060.00316.54
8.3.190.0050.00317.48
8.3.180.0110.00816.83
8.3.170.0120.00618.90
8.3.160.0110.00318.50
8.3.150.0120.00320.60
8.3.140.0040.00416.87
8.3.130.0080.00018.49
8.3.120.0060.01319.15
8.3.110.0060.00320.94
8.3.100.0090.00616.74
8.3.90.0070.00426.77
8.3.80.0070.00418.34
8.3.70.0120.00318.46
8.3.60.0040.01118.68
8.3.50.0110.00317.62
8.3.40.0070.01418.79
8.3.30.0040.01118.84
8.3.20.0050.00220.73
8.3.10.0040.00721.76
8.3.00.0000.00820.84
8.2.290.0140.00520.33
8.2.280.0090.00720.51
8.2.270.0110.00719.26
8.2.260.0040.00418.34
8.2.250.0030.00518.70
8.2.240.0100.00019.28
8.2.230.0130.00322.58
8.2.220.0060.00324.06
8.2.210.0050.00326.77
8.2.200.0060.00318.57
8.2.190.0040.01118.66
8.2.180.0110.00718.41
8.2.170.0040.01122.96
8.2.160.0070.00722.25
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0040.00418.16
8.2.120.0080.00026.35
8.2.110.0070.00321.16
8.2.100.0040.00817.85
8.2.90.0030.00617.91
8.2.80.0080.00017.97
8.2.70.0060.00317.93
8.2.60.0100.00018.06
8.2.50.0000.00818.10
8.2.40.0000.00719.28
8.2.30.0000.00819.33
8.2.20.0040.00418.02
8.2.10.0050.00219.23
8.2.00.0000.00718.19
8.1.330.0120.00721.79
8.1.320.0140.00515.97
8.1.310.0040.01518.33
8.1.300.0060.00316.38
8.1.290.0000.00830.84
8.1.280.0090.00925.92
8.1.270.0040.00420.29
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0100.00022.04
8.1.230.0090.00322.63
8.1.220.0050.00317.74
8.1.210.0040.00418.95
8.1.200.0060.00317.48
8.1.190.0100.00317.35
8.1.180.0040.00418.10
8.1.170.0000.00818.66
8.1.160.0040.00418.90
8.1.150.0070.00018.95
8.1.140.0040.00419.10
8.1.130.0030.00320.19
8.1.120.0000.00717.53
8.1.110.0100.00017.59
8.1.100.0040.00417.48
8.1.90.0050.00317.55
8.1.80.0000.00717.47
8.1.70.0060.00317.55
8.1.60.0030.00617.56
8.1.50.0050.00317.68
8.1.40.0040.00417.69
8.1.30.0080.00017.74
8.1.20.0000.00817.80
8.1.10.0040.00417.66
8.1.00.0020.00517.63
8.0.300.0040.00419.74
8.0.290.0000.00716.75
8.0.280.0030.00318.45
8.0.270.0000.00817.12
8.0.260.0000.00718.55
8.0.250.0030.00517.10
8.0.240.0000.00817.02
8.0.230.0040.00317.11
8.0.220.0000.00817.03
8.0.210.0000.00917.03
8.0.200.0000.00717.13
8.0.190.0050.00217.08
8.0.180.0080.00017.10
8.0.170.0040.00417.07
8.0.160.0030.00716.92
8.0.150.0070.00017.02
8.0.140.0030.00516.97
8.0.130.0050.00013.41
8.0.120.0080.00017.00
8.0.110.0000.00716.87
8.0.100.0070.00016.88
8.0.90.0040.00416.93
8.0.80.0070.01117.01
8.0.70.0050.00217.07
8.0.60.0040.00416.91
8.0.50.0030.00517.09
8.0.30.0120.00917.23
8.0.20.0060.01217.20
8.0.10.0040.00417.26
8.0.00.0110.00816.85
7.4.330.0000.00516.86
7.4.320.0060.00016.77
7.4.300.0000.00716.70
7.4.290.0040.00416.79
7.4.280.0050.00316.82
7.4.270.0070.00016.72
7.4.260.0040.00416.62
7.4.250.0030.00316.57
7.4.240.0050.00216.70
7.4.230.0050.00216.64
7.4.220.0090.00016.91
7.4.210.0070.01016.67
7.4.200.0070.00016.64
7.4.140.0130.00817.86
7.4.130.0110.00616.77
7.4.120.0030.02016.82
7.4.110.0100.00716.63
7.4.100.0170.00016.72
7.4.90.0110.01116.76
7.4.80.0110.00619.39
7.4.70.0120.00616.58
7.4.60.0130.00316.78
7.4.50.0060.00916.60
7.4.40.0060.01116.73
7.4.00.0060.00915.07
7.3.330.0040.00213.30
7.3.320.0030.00313.13
7.3.310.0040.00416.34
7.3.300.0030.00316.25
7.3.290.0070.00016.39
7.3.280.0090.00716.33
7.3.260.0100.01016.65
7.3.240.0100.00716.61
7.3.230.0090.00916.81
7.3.210.0130.01016.47
7.3.200.0060.01216.77
7.3.190.0070.01016.47
7.3.180.0160.00716.67
7.3.170.0140.00316.46
7.3.160.0170.00016.72
7.3.120.0040.01415.00
7.3.110.0000.01214.88
7.3.100.0090.00314.94
7.3.90.0060.00314.84
7.3.80.0070.00315.13
7.3.70.0070.00315.09
7.3.60.0000.01415.04
7.3.50.0060.00915.05
7.3.40.0060.00614.95
7.3.30.0010.00914.86
7.3.20.0260.01315.89
7.3.10.0300.00616.03
7.3.00.0290.00515.94
7.2.330.0060.01216.75
7.2.320.0060.00916.98
7.2.310.0090.00916.80
7.2.300.0060.00916.69
7.2.290.0220.02816.78
7.2.240.0040.00415.22
7.2.230.0130.00015.34
7.2.220.0030.01215.17
7.2.210.0120.00315.40
7.2.200.0000.00815.00
7.2.190.0060.00615.32
7.2.180.0040.01115.45
7.2.170.0060.00614.90
7.2.160.0030.01615.25
7.2.150.0240.00816.18
7.2.140.0240.00715.99
7.2.130.0280.00516.15
7.2.120.0290.00716.15
7.2.110.0240.00916.11
7.2.100.0260.00616.05
7.2.90.0240.01016.21
7.2.80.0320.01116.10
7.2.70.0280.00816.20
7.2.60.0280.00816.02
7.2.50.0320.01116.12
7.2.40.0290.00716.12
7.2.30.0330.00516.26
7.2.20.0260.01116.07
7.2.10.0290.00916.22
7.2.00.0310.00716.07
7.1.330.0080.00415.95
7.1.320.0100.00615.69
7.1.310.0040.00816.16
7.1.300.0080.00315.80
7.1.290.0000.00915.88
7.1.280.0060.00615.99
7.1.270.0700.01015.04
7.1.260.0300.00614.90
7.1.250.0280.00515.01

preferences:
35 ms | 403 KiB | 5 Q