3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "You have been assigned to the job #3 Megastar 4(01923033) OSD jackpot needs adjusting. The job is for (Icon's) Stadium Bar - GMV1028. The job machines are - 01980414 , - 01923033 , - 07993682 This job has #############################a priority of Non-Critical Fault / Medium. The job is scheduled for Monday, 14 July, 2014 at 02:29 PM."; $sn ='01923033'; $regx= "/$sn(.*?)\The job is for/s"; //print $regx; //print " test "; $matches = array(); $t = preg_match($regx, $text, $matches); print_r($matches[1]); $regx2= "/The job is for (.*?)\-/s"; $matches2 = array(); $t = preg_match($regx2, $text, $matches2); print_r($matches2[1]); $text= preg_replace("/#/(/)/-/", "", $text); print_r($text);

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.01118.53
8.3.50.0110.00821.99
8.3.40.0120.00319.13
8.3.30.0210.00019.27
8.3.20.0030.01020.20
8.3.10.0070.01123.42
8.3.00.0080.00019.69
8.2.180.0070.01117.00
8.2.170.0140.00022.96
8.2.160.0100.00719.06
8.2.150.0080.00024.18
8.2.140.0110.00724.66
8.2.130.0090.00926.16
8.2.120.0150.00019.61
8.2.110.0040.00422.44
8.2.100.0040.00817.84
8.2.90.0000.00819.13
8.2.80.0080.00018.00
8.2.70.0060.00317.75
8.2.60.0000.00817.93
8.2.50.0030.00618.07
8.2.40.0000.00719.53
8.2.30.0050.00218.38
8.2.20.0000.00717.97
8.2.10.0050.00318.26
8.2.00.0000.00717.89
8.1.280.0090.00625.92
8.1.270.0040.00424.02
8.1.260.0060.01326.35
8.1.250.0080.00028.09
8.1.240.0000.00923.81
8.1.230.0090.00319.15
8.1.220.0080.00017.76
8.1.210.0080.00018.77
8.1.200.0080.00317.48
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0040.00418.70
8.1.160.0030.00522.00
8.1.150.0030.00518.79
8.1.140.0020.00517.58
8.1.130.0000.00717.79
8.1.120.0040.00417.43
8.1.110.0070.00317.46
8.1.100.0040.00417.60
8.1.90.0000.00717.44
8.1.80.0030.00517.61
8.1.70.0030.00317.52
8.1.60.0040.00417.61
8.1.50.0000.00817.59
8.1.40.0040.00417.66
8.1.30.0070.00417.59
8.1.20.0060.00317.83
8.1.10.0030.00617.77
8.1.00.0030.00717.70
8.0.300.0000.00718.77
8.0.290.0000.00717.13
8.0.280.0030.00318.48
8.0.270.0030.00317.21
8.0.260.0000.00617.36
8.0.250.0040.00417.13
8.0.240.0000.00717.25
8.0.230.0030.00317.12
8.0.220.0070.00017.10
8.0.210.0000.00717.00
8.0.200.0060.00017.17
8.0.190.0000.00817.19
8.0.180.0000.00917.11
8.0.170.0030.00617.04
8.0.160.0070.00017.01
8.0.150.0040.00417.13
8.0.140.0040.00416.95
8.0.130.0030.00313.55
8.0.120.0000.00716.94
8.0.110.0000.00717.15
8.0.100.0000.00717.18
8.0.90.0040.00417.00
8.0.80.0090.00617.04
8.0.70.0040.00416.99
8.0.60.0040.00417.11
8.0.50.0040.00417.00
8.0.30.0090.01017.44
8.0.20.0110.01317.40
8.0.10.0000.00817.03
8.0.00.0080.00816.89
7.4.330.0030.00315.00
7.4.320.0000.00616.66
7.4.300.0000.00616.77
7.4.290.0000.00716.72
7.4.280.0070.00316.66
7.4.270.0040.00416.76
7.4.260.0070.00016.62
7.4.250.0050.00216.74
7.4.240.0040.00416.78
7.4.230.0040.00416.79
7.4.220.0090.01616.73
7.4.210.0070.01016.63
7.4.200.0040.00416.59
7.4.160.0130.00316.89
7.4.150.0160.00317.40
7.4.140.0090.01017.86
7.4.130.0110.00916.69
7.4.120.0100.01016.81
7.4.110.0100.01416.67
7.4.100.0120.00616.59
7.4.90.0130.00716.73
7.4.80.0070.01419.39
7.4.70.0090.00816.75
7.4.60.0060.01016.77
7.4.50.0030.00516.77
7.4.40.0110.00516.75
7.4.30.0090.00916.80
7.4.00.0060.00615.22
7.3.330.0030.00313.26
7.3.320.0050.00013.26
7.3.310.0030.00316.26
7.3.300.0030.00316.49
7.3.290.0080.00616.50
7.3.280.0120.00516.47
7.3.270.0100.00717.40
7.3.260.0130.00416.82
7.3.250.0140.00616.54
7.3.240.0000.01716.48
7.3.230.0000.01716.64
7.3.210.0000.01716.46
7.3.200.0060.00919.39
7.3.190.0130.00316.49
7.3.180.0070.00916.68
7.3.170.0090.00916.45
7.3.160.0080.00816.48
7.3.120.0100.00315.07
7.3.10.0090.00616.59
7.3.00.0060.00616.88
7.2.330.0120.00616.65
7.2.320.0060.01916.88
7.2.310.0060.01116.76
7.2.300.0070.01016.73
7.2.290.0060.00916.79
7.2.130.0040.00717.18
7.2.120.0100.00717.12
7.2.110.0030.00716.79
7.2.100.0100.00317.11
7.2.90.0000.01317.07
7.2.80.0050.00817.21
7.2.70.0070.00716.76
7.2.60.0060.00617.02
7.2.50.0060.00917.11
7.2.40.0100.00617.25
7.2.30.0070.00717.18
7.2.20.0000.01416.89
7.2.10.0070.00717.00
7.2.00.0090.00618.36
7.1.250.0070.00415.86
7.1.100.0030.01018.05
7.1.70.0140.00317.18
7.1.60.0030.02019.70
7.1.50.0040.00816.96
7.1.00.0070.07322.38
7.0.200.0170.00316.54
7.0.140.0000.07321.95
7.0.110.0170.04019.86
7.0.100.0130.06320.00
7.0.90.0200.07720.06
7.0.80.0100.08319.93
7.0.70.0070.07019.89
7.0.60.0200.07320.03
7.0.50.0100.06720.08
7.0.40.0000.04719.66
7.0.30.0130.04019.80
7.0.20.0130.04019.77
7.0.10.0070.04319.84
7.0.00.0070.03719.71
5.6.280.0100.06721.11
5.6.260.0130.04720.66
5.6.250.0070.07720.67
5.6.240.0070.08020.71
5.6.230.0100.04720.63
5.6.220.0030.04020.83
5.6.210.0130.06720.60
5.6.200.0070.08020.56
5.6.190.0000.04720.64
5.6.180.0130.07020.61
5.6.170.0070.07320.60
5.6.160.0130.07320.70
5.6.150.0100.04720.60
5.6.140.0030.08020.64
5.6.130.0070.06020.64
5.6.120.0070.04020.55
5.6.110.0100.04320.54
5.6.100.0100.03720.83
5.6.90.0070.04720.82
5.6.80.0100.07019.97
5.6.70.0100.07020.05
5.6.60.0030.03719.93
5.6.50.0070.04319.96
5.6.40.0070.06020.20
5.6.30.0070.04319.94
5.6.20.0070.03720.00
5.6.10.0130.06320.05
5.6.00.0070.03320.03
5.5.380.0070.07717.53
5.5.370.0030.04717.66
5.5.360.0030.07017.55
5.5.350.0070.07017.46
5.5.340.0130.07017.85
5.5.330.0100.06017.85
5.5.320.0170.07317.99
5.5.310.0170.06718.09
5.5.300.0100.08317.84
5.5.290.0030.08017.77
5.5.280.0070.06318.10
5.5.270.0130.06317.83
5.5.260.0070.06718.16
5.5.250.0100.03317.82
5.5.240.0100.05317.23
5.5.230.0030.04017.23
5.5.220.0100.06017.64
5.5.210.0030.05317.50
5.5.200.0170.03717.38
5.5.190.0070.03717.52
5.5.180.0000.04717.60
5.5.160.0100.07317.22
5.5.150.0070.08017.11
5.5.140.0100.07317.44
5.5.130.0100.08017.19
5.5.120.0030.04017.46
5.5.110.0030.04017.35
5.5.100.0100.04717.38
5.5.90.0100.07017.38
5.5.80.0170.06717.41
5.5.70.0070.07017.40
5.5.60.0130.07317.01
5.5.50.0030.06317.49
5.5.40.0100.06017.09
5.5.30.0000.04017.00
5.5.20.0070.07017.10
5.5.10.0000.07317.25
5.5.00.0130.05717.39
5.4.450.0100.04319.32
5.4.440.0100.07319.25
5.4.430.0030.06719.27
5.4.420.0000.04319.30
5.4.410.0070.03719.36
5.4.400.0030.04318.96
5.4.390.0030.06019.13
5.4.380.0100.03018.95
5.4.370.0030.07019.25
5.4.360.0030.07019.27
5.4.350.0030.06319.03
5.4.340.0030.06319.03
5.4.320.0000.07019.27
5.4.310.0170.06019.01
5.4.300.0130.03718.94
5.4.290.0070.08019.16
5.4.280.0100.03719.00
5.4.270.0130.07019.00
5.4.260.0070.07719.10
5.4.250.0100.07018.98
5.4.240.0100.07318.92
5.4.230.0030.04319.17
5.4.220.0030.08018.94
5.4.210.0070.05719.02
5.4.200.0000.04019.17
5.4.190.0070.04719.00
5.4.180.0200.03718.99
5.4.170.0070.03019.11
5.4.160.0100.03018.92
5.4.150.0070.06319.05
5.4.140.0030.07016.25
5.4.130.0000.06316.31
5.4.120.0030.04716.57
5.4.110.0000.04316.18
5.4.100.0070.03016.41
5.4.90.0000.06016.43
5.4.80.0000.04016.52
5.4.70.0030.03716.24
5.4.60.0000.06316.50
5.4.50.0130.06016.21
5.4.40.0030.03316.31
5.4.30.0030.05016.15
5.4.20.0000.03316.45
5.4.10.0070.08016.10
5.4.00.0070.06315.78
5.3.290.0000.04714.68
5.3.280.0130.06314.62
5.3.270.0030.07714.62
5.3.260.0000.05314.48
5.3.250.0070.05714.66
5.3.240.0070.03314.54
5.3.230.0130.05314.42
5.3.220.0030.03714.56
5.3.210.0030.03714.50
5.3.200.0030.06314.44
5.3.190.0000.05314.50
5.3.180.0030.07714.35
5.3.170.0130.06314.55
5.3.160.0030.03314.46
5.3.150.0030.06314.46
5.3.140.0100.07014.49
5.3.130.0030.04014.65
5.3.120.0070.03314.33
5.3.110.0100.02714.39
5.3.100.0070.04713.94
5.3.90.0070.04314.02
5.3.80.0170.05313.92
5.3.70.0030.06714.11
5.3.60.0070.07314.02
5.3.50.0000.08013.87
5.3.40.0100.04713.83
5.3.30.0070.06013.96
5.3.20.0030.07313.53
5.3.10.0070.07313.59
5.3.00.0030.07313.54
5.2.170.0070.05012.13
5.2.160.0070.06012.13
5.2.150.0030.06712.13
5.2.140.0030.03712.13
5.2.130.0030.03312.13
5.2.120.0030.03012.13
5.2.110.0030.04012.13
5.2.100.0000.04712.13
5.2.90.0100.05712.13
5.2.80.0070.06012.13
5.2.70.0000.06012.13
5.2.60.0070.05712.13
5.2.50.0100.06012.13
5.2.40.0030.06712.13
5.2.30.0070.05712.13
5.2.20.0030.05712.13
5.2.10.0030.06012.13
5.2.00.0070.05012.13
5.1.60.0030.05012.13
5.1.50.0030.03012.13
5.1.40.0030.05312.13
5.1.30.0030.04312.13
5.1.20.0070.05012.13
5.1.10.0070.05012.13
5.1.00.0100.05012.13
5.0.50.0070.04312.13
5.0.40.0000.03312.13
5.0.30.0000.03312.13
5.0.20.0030.04312.13
5.0.10.0030.02712.13
5.0.00.0000.06312.13
4.4.90.0000.03712.13
4.4.80.0030.02012.13
4.4.70.0000.01712.13
4.4.60.0000.03712.13
4.4.50.0030.02012.13
4.4.40.0030.05312.13
4.4.30.0030.03712.13
4.4.20.0000.03712.13
4.4.10.0000.02012.13
4.4.00.0000.05712.13
4.3.110.0070.01712.13
4.3.100.0000.03712.13
4.3.90.0070.02012.13
4.3.80.0070.04012.13
4.3.70.0000.02312.13
4.3.60.0030.03312.13
4.3.50.0000.02712.13
4.3.40.0030.05012.13
4.3.30.0000.01712.13
4.3.20.0030.02712.13
4.3.10.0000.03712.13
4.3.00.0000.02312.13

preferences:
35.12 ms | 401 KiB | 5 Q