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); //$matches = array(); $t = preg_match($regx, $text, $matches); print_r($matches[1]);

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.0180.00318.33
8.3.50.0170.00322.05
8.3.40.0120.00318.54
8.3.30.0110.00319.04
8.3.20.0050.00320.39
8.3.10.0050.00323.64
8.3.00.0040.00419.02
8.2.180.0140.00317.00
8.2.170.0150.00622.96
8.2.160.0070.00720.38
8.2.150.0050.00224.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0040.00419.36
8.2.110.0000.00922.25
8.2.100.0060.00618.16
8.2.90.0000.00919.34
8.2.80.0060.00317.97
8.2.70.0080.00017.63
8.2.60.0040.00417.91
8.2.50.0060.00318.07
8.2.40.0000.00918.34
8.2.30.0040.00418.38
8.2.20.0040.00417.75
8.2.10.0080.00018.07
8.2.00.0040.00419.40
8.1.280.0120.00625.92
8.1.270.0030.00624.01
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0070.00321.91
8.1.230.0070.00319.08
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0030.00617.35
8.1.180.0030.00518.10
8.1.170.0000.00818.59
8.1.160.0030.00521.91
8.1.150.0040.00418.49
8.1.140.0000.00817.40
8.1.130.0030.00317.85
8.1.120.0000.00817.28
8.1.110.0040.00417.32
8.1.100.0000.00717.34
8.1.90.0030.00517.42
8.1.80.0000.00717.43
8.1.70.0030.00317.42
8.1.60.0060.00317.42
8.1.50.0050.00517.54
8.1.40.0030.00517.52
8.1.30.0060.00317.64
8.1.20.0060.00317.58
8.1.10.0040.00417.61
8.1.00.0040.00417.39
8.0.300.0070.00018.77
8.0.290.0060.00316.75
8.0.280.0030.00318.33
8.0.270.0070.00017.18
8.0.260.0000.00617.31
8.0.250.0070.00017.00
8.0.240.0040.00416.90
8.0.230.0070.00016.88
8.0.220.0000.00716.85
8.0.210.0070.00017.03
8.0.200.0030.00317.09
8.0.190.0040.00416.93
8.0.180.0070.00316.91
8.0.170.0030.00517.02
8.0.160.0040.00416.98
8.0.150.0060.00616.74
8.0.140.0070.00016.76
8.0.130.0000.00613.39
8.0.120.0030.00616.73
8.0.110.0000.00716.86
8.0.100.0040.00416.93
8.0.90.0000.00716.82
8.0.80.0140.00316.85
8.0.70.0080.00016.84
8.0.60.0020.00516.77
8.0.50.0070.00016.93
8.0.30.0060.01217.08
8.0.20.0090.00917.40
8.0.10.0040.00416.91
8.0.00.0060.01116.88
7.4.330.0000.00515.09
7.4.320.0000.00616.35
7.4.300.0000.00716.50
7.4.290.0030.00316.48
7.4.280.0030.00516.45
7.4.270.0070.00016.52
7.4.260.0000.00716.43
7.4.250.0030.00516.55
7.4.240.0040.00416.54
7.4.230.0030.00316.29
7.4.220.0100.00716.49
7.4.210.0070.01316.62
7.4.200.0030.00316.61
7.4.160.0060.01016.63
7.4.150.0130.00417.40
7.4.140.0070.00917.86
7.4.130.0090.00816.45
7.4.120.0110.00616.44
7.4.110.0090.00816.52
7.4.100.0030.01316.48
7.4.90.0060.01116.25
7.4.80.0070.01019.39
7.4.70.0100.00616.57
7.4.60.0060.01216.55
7.4.50.0040.00416.59
7.4.40.0070.01016.74
7.4.30.0060.01216.51
7.4.00.0030.00914.89
7.3.330.0050.00013.24
7.3.320.0040.00413.12
7.3.310.0030.00316.28
7.3.300.0030.00316.45
7.3.290.0030.01316.33
7.3.280.0090.00716.36
7.3.270.0060.01517.40
7.3.260.0100.01016.47
7.3.250.0130.00816.49
7.3.240.0060.01216.66
7.3.230.0100.00616.52
7.3.210.0030.01316.38
7.3.200.0070.01519.39
7.3.190.0120.00916.45
7.3.180.0060.00916.42
7.3.170.0100.00716.30
7.3.160.0120.00416.35
7.3.120.0060.00615.02
7.2.330.0080.01516.80
7.2.320.0070.01016.31
7.2.310.0090.00816.51
7.2.300.0130.00316.57
7.2.290.0070.01116.70
7.2.00.0080.00419.49
7.1.100.0040.00717.92
7.1.70.0000.00916.86
7.1.60.0060.01319.70
7.1.50.0170.01316.87
7.1.00.0100.06722.45
7.0.200.0040.00416.48
7.0.140.0070.07022.00
7.0.60.0200.06319.93
7.0.50.0000.05717.81
7.0.40.0070.04720.03
7.0.30.0200.07320.17
7.0.20.0430.06720.01
7.0.10.0330.04720.11
7.0.00.0130.07320.13
5.6.280.0000.07320.91
5.6.210.0100.04320.46
5.6.200.0100.08018.23
5.6.190.0130.06020.77
5.6.180.0000.09320.79
5.6.170.0270.06020.48
5.6.160.0100.05020.32
5.6.150.0100.08018.22
5.6.140.0030.04018.11
5.6.130.0070.03718.11
5.6.120.0070.08321.01
5.6.110.0100.08320.95
5.6.100.0200.07021.13
5.6.90.0070.06720.96
5.6.80.0130.05020.38
5.6.70.0200.04020.42
5.5.350.0030.08020.32
5.5.340.0030.06017.98
5.5.330.0200.05020.37
5.5.320.0300.07720.30
5.5.310.0300.06720.27
5.5.300.0100.07717.98
5.5.290.0100.07717.98
5.5.280.0000.04320.80
5.5.270.0100.08020.66
5.5.260.0030.05020.75
5.5.250.0100.09020.57
5.5.240.0100.08320.23
5.4.450.0370.04733.61
5.4.440.0200.04331.27
5.4.430.0270.04729.33
5.4.420.0300.03729.32
5.4.410.0230.04729.29
5.4.400.0300.05029.29
5.4.390.0500.04329.27
5.4.380.0370.05318.50
5.4.370.0330.05718.49
5.4.360.0400.06018.59
5.4.350.0200.06318.61
5.4.340.0570.06018.59
5.4.320.0070.03312.45
5.4.310.0070.03612.45
5.4.300.0090.03412.45
5.4.290.0060.04312.45
5.4.280.0050.03612.35
5.4.270.0080.03412.35
5.4.260.0050.04012.34
5.4.250.0080.03712.34
5.4.240.0060.03612.34
5.4.230.0070.03712.34
5.4.220.0080.03412.34
5.4.210.0100.03612.34
5.4.200.0090.03912.34
5.4.190.0120.03912.33
5.4.180.0060.03712.33
5.4.170.0090.04012.35
5.4.160.0070.03512.34
5.4.150.0070.03612.34
5.4.140.0090.03512.02
5.4.130.0050.03712.01
5.4.120.0050.03611.97
5.4.110.0060.03711.96
5.4.100.0030.04011.96
5.4.90.0020.04111.96
5.4.80.0030.04011.96
5.4.70.0080.03211.96
5.4.60.0050.03611.96
5.4.50.0060.03511.96
5.4.40.0030.03811.95
5.4.30.0050.03611.95
5.4.20.0050.03611.95
5.4.10.0090.03311.95
5.4.00.0050.04111.43
5.3.290.0060.05012.80
5.3.280.0070.03712.71
5.3.270.0110.04012.72
5.3.260.0110.04312.71
5.3.250.0050.03812.72
5.3.240.0030.03912.72
5.3.230.0080.03612.71
5.3.220.0070.04512.68
5.3.210.0080.03612.68
5.3.200.0040.03812.68
5.3.190.0040.04212.68
5.3.180.0060.03912.68
5.3.170.0100.04212.67
5.3.160.0060.03712.68
5.3.150.0090.03912.67
5.3.140.0050.03712.66
5.3.130.0030.04212.66
5.3.120.0070.04512.65
5.3.110.0100.05212.66
5.3.100.0070.03612.12
5.3.90.0100.03712.08
5.3.80.0060.04312.07
5.3.70.0080.03912.08
5.3.60.0100.03312.06
5.3.50.0050.03612.00
5.3.40.0070.03512.00
5.3.30.0060.03511.94
5.3.20.0110.03311.72
5.3.10.0060.03911.69
5.3.00.0080.03911.68
5.2.170.0020.0349.18
5.2.160.0060.0299.18
5.2.150.0070.0369.18
5.2.140.0060.0299.17
5.2.130.0040.0349.14
5.2.120.0070.0409.13
5.2.110.0040.0309.14
5.2.100.0040.0289.14
5.2.90.0060.0309.14
5.2.80.0040.0389.14
5.2.70.0060.0399.14
5.2.60.0080.0349.09
5.2.50.0050.0309.06
5.2.40.0020.0319.04
5.2.30.0050.0389.01
5.2.20.0040.0299.00
5.2.10.0050.0388.92
5.2.00.0070.0388.78
5.1.60.0040.0248.06
5.1.50.0050.0308.06
5.1.40.0050.0298.04
5.1.30.0080.0238.39
5.1.20.0030.0338.41
5.1.10.0080.0278.14
5.1.00.0070.0238.14
5.0.50.0030.0216.62
5.0.40.0040.0196.47
5.0.30.0050.0386.29
5.0.20.0040.0216.26
5.0.10.0040.0196.24
5.0.00.0070.0376.23
4.4.90.0040.0204.78
4.4.80.0010.0234.75
4.4.70.0020.0164.76
4.4.60.0050.0144.76
4.4.50.0030.0194.77
4.4.40.0030.0254.70
4.4.30.0010.0174.75
4.4.20.0040.0144.84
4.4.10.0020.0164.85
4.4.00.0010.0334.76
4.3.110.0010.0174.67
4.3.100.0040.0214.67
4.3.90.0060.0194.63
4.3.80.0030.0244.58
4.3.70.0010.0224.63
4.3.60.0020.0224.63
4.3.50.0020.0204.63
4.3.40.0030.0344.54
4.3.30.0030.0213.29
4.3.20.0050.0133.26
4.3.10.0010.0253.22
4.3.00.0070.01729.14

preferences:
43.51 ms | 401 KiB | 5 Q