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.0130.01018.27
8.3.50.0120.00722.05
8.3.40.0140.00018.70
8.3.30.0140.00018.87
8.3.20.0000.00820.34
8.3.10.0080.00023.48
8.3.00.0070.00020.90
8.2.180.0090.01216.88
8.2.170.0120.00322.96
8.2.160.0070.00720.16
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0110.00426.16
8.2.120.0000.00819.48
8.2.110.0090.00022.22
8.2.100.0040.00817.84
8.2.90.0040.00419.17
8.2.80.0000.00917.97
8.2.70.0050.00517.63
8.2.60.0040.00417.68
8.2.50.0060.00318.07
8.2.40.0000.00818.34
8.2.30.0000.00718.20
8.2.20.0050.00317.76
8.2.10.0080.00018.20
8.2.00.0030.00619.59
8.1.280.0150.00325.92
8.1.270.0000.00923.65
8.1.260.0000.00726.35
8.1.250.0050.00328.09
8.1.240.0030.00622.54
8.1.230.0030.00922.67
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00617.22
8.1.190.0000.00817.22
8.1.180.0080.00018.10
8.1.170.0060.00318.59
8.1.160.0070.00022.05
8.1.150.0000.00718.53
8.1.140.0040.00417.39
8.1.130.0030.00317.75
8.1.120.0040.00417.31
8.1.110.0000.00717.45
8.1.100.0050.00217.43
8.1.90.0000.00717.40
8.1.80.0000.00717.31
8.1.70.0070.00017.38
8.1.60.0080.00017.54
8.1.50.0090.00017.50
8.1.40.0060.00317.36
8.1.30.0050.00317.61
8.1.20.0000.00917.61
8.1.10.0060.00317.48
8.1.00.0040.00417.54
8.0.300.0080.00018.77
8.0.290.0000.00716.75
8.0.280.0030.00318.47
8.0.270.0000.00717.32
8.0.260.0060.00017.29
8.0.250.0000.00717.02
8.0.240.0050.00317.02
8.0.230.0030.00317.05
8.0.220.0030.00316.96
8.0.210.0030.00317.01
8.0.200.0000.00617.03
8.0.190.0000.00716.91
8.0.180.0100.00016.88
8.0.170.0000.00816.92
8.0.160.0030.00317.08
8.0.150.0000.00716.79
8.0.140.0040.00416.84
8.0.130.0000.00613.44
8.0.120.0050.00316.92
8.0.110.0000.00717.05
8.0.100.0040.00417.08
8.0.90.0040.00416.87
8.0.80.0100.00716.88
8.0.70.0050.00216.90
8.0.60.0040.00417.04
8.0.50.0030.00516.80
8.0.30.0090.01017.02
8.0.20.0100.00717.40
8.0.10.0000.00717.11
8.0.00.0100.00916.76
7.4.330.0000.00615.00
7.4.320.0030.00316.78
7.4.300.0030.00316.67
7.4.290.0070.00016.67
7.4.280.0040.00816.66
7.4.270.0030.00316.77
7.4.260.0000.00716.61
7.4.250.0040.00416.70
7.4.240.0040.00416.72
7.4.230.0030.00316.65
7.4.220.0150.01216.62
7.4.210.0060.01316.70
7.4.200.0040.00416.52
7.4.160.0100.01016.78
7.4.150.0140.00717.40
7.4.140.0030.01417.86
7.4.130.0080.01016.76
7.4.120.0060.01016.64
7.4.110.0070.01016.60
7.4.100.0150.00316.68
7.4.90.0160.00316.93
7.4.80.0100.01319.39
7.4.70.0150.00516.79
7.4.60.0140.00316.63
7.4.50.0000.00416.82
7.4.40.0130.01016.61
7.4.30.0060.00916.79
7.4.00.0110.00715.21
7.3.330.0060.00013.37
7.3.320.0000.00513.22
7.3.310.0000.00716.33
7.3.300.0030.00316.50
7.3.290.0080.01216.57
7.3.280.0080.00816.58
7.3.270.0100.01317.40
7.3.260.0160.00616.52
7.3.250.0080.01516.84
7.3.240.0070.01016.54
7.3.230.0130.00316.91
7.3.210.0160.00716.54
7.3.200.0060.01119.39
7.3.190.0140.00716.68
7.3.180.0080.01216.63
7.3.170.0080.00816.55
7.3.160.0110.00516.55
7.3.120.0090.00615.21
7.2.330.0060.01116.71
7.2.320.0100.00716.77
7.2.310.0100.00616.78
7.2.300.0090.00616.67
7.2.290.0100.00616.72
7.2.00.0030.01119.69
7.1.100.0000.01118.24
7.1.70.0040.00417.28
7.1.60.0150.01119.70
7.1.50.0130.01017.22
7.1.00.0100.07022.38
7.0.200.0030.00516.88
7.0.140.0000.07722.09
7.0.60.0030.04020.07
7.0.50.0030.06017.70
7.0.40.0070.03720.00
7.0.30.0300.05020.23
7.0.20.0270.03720.21
7.0.10.0300.06720.03
7.0.00.0070.06320.14
5.6.280.0000.07721.09
5.6.210.0030.05020.50
5.6.200.0100.08018.16
5.6.190.0070.08720.77
5.6.180.0130.07720.48
5.6.170.0170.08720.44
5.6.160.0000.08720.48
5.6.150.0100.03718.16
5.6.140.0100.03318.20
5.6.130.0100.07318.04
5.6.120.0030.08320.97
5.6.110.0070.04720.98
5.6.100.0170.05021.03
5.6.90.0030.09320.95
5.6.80.0100.07320.40
5.6.70.0130.04720.49
5.5.350.0000.08320.47
5.5.340.0070.03717.93
5.5.330.0030.08720.21
5.5.320.0230.07720.32
5.5.310.0270.04320.30
5.5.300.0230.05317.97
5.5.290.0130.03317.96
5.5.280.0200.07320.83
5.5.270.0100.06720.79
5.5.260.0030.05020.96
5.5.250.0170.07320.76
5.5.240.0030.05720.15
5.4.450.0730.04319.40
5.4.440.0630.04719.48
5.4.430.0400.04719.42
5.4.420.0730.04319.36
5.4.410.0770.04319.13
5.4.400.0800.02719.15
5.4.390.0530.05319.05
5.4.380.0700.03719.23
5.4.370.0700.04719.04
5.4.360.0500.04718.77
5.4.350.0270.04318.90
5.4.340.0370.05319.04
5.4.320.0470.03719.10
5.4.310.0530.04019.16
5.4.300.0470.04019.21
5.4.290.0600.04019.10
5.4.280.0430.04019.11
5.4.270.0570.03319.13
5.4.260.0700.04019.01
5.4.250.0670.04019.05
5.4.240.0670.05018.89
5.4.230.0370.04019.05
5.4.220.0770.03319.03
5.4.210.0800.03719.03
5.4.200.1100.03019.21
5.4.190.0570.04319.14
5.4.180.0700.04318.75
5.4.170.0530.04319.05
5.4.160.0630.04318.88
5.4.150.0730.04719.13
5.4.140.0300.03716.31
5.4.130.0830.04016.28
5.4.120.0300.03716.32
5.4.110.0570.04016.43
5.4.100.0670.03016.24
5.4.90.0500.03716.32
5.4.80.0470.03716.38
5.4.70.0530.03016.42
5.4.60.0000.03316.43
5.4.50.0800.04716.43
5.4.40.0330.03716.34
5.4.30.0500.03316.36
5.4.20.0930.02716.24
5.4.10.0830.03316.45
5.4.00.0830.02316.24
5.3.290.0330.04716.24
5.3.280.0770.03016.24
5.3.270.0530.04716.24
5.3.260.0370.04716.24
5.3.250.0730.04016.24
5.3.240.0530.03716.24
5.3.230.0330.03316.24
5.3.220.0230.04016.24
5.3.210.0400.04316.24
5.3.200.0270.04316.24
5.3.190.0730.04016.24
5.3.180.0530.03716.24
5.3.170.0600.03716.24
5.3.160.0930.03716.24
5.3.150.0200.05016.24
5.3.140.0670.02716.24
5.3.130.0630.04016.24
5.3.120.0430.04316.24
5.3.110.0900.03716.24
5.3.100.0730.04016.24
5.3.90.0600.03316.24
5.3.80.0830.03716.24
5.3.70.0900.03016.24
5.3.60.0470.02316.24
5.3.50.0330.05016.24
5.3.40.0900.03016.24
5.3.30.0600.04316.24
5.3.20.0430.03716.24
5.3.10.0570.04016.24
5.3.00.0570.04016.24
5.2.170.0530.02716.24
5.2.160.0400.03316.24
5.2.150.0770.02316.24
5.2.140.0630.04316.24
5.2.130.0500.03316.24
5.2.120.0670.02316.24
5.2.110.0200.03316.24
5.2.100.0400.03316.24
5.2.90.0430.03016.24
5.2.80.0430.03016.24
5.2.70.0200.03716.24
5.2.60.0570.03316.24
5.2.50.0530.03016.24
5.2.40.0170.03716.24
5.2.30.0430.02316.24
5.2.20.0270.03016.24
5.2.10.0630.02716.24
5.2.00.0270.02716.24
5.1.60.0270.02316.24
5.1.50.0230.03016.24
5.1.40.0470.02316.24
5.1.30.0300.02316.24
5.1.20.0270.02716.24
5.1.10.0430.03016.24
5.1.00.0330.03316.24
5.0.50.0270.02016.24
5.0.40.0330.01716.24
5.0.30.0170.03016.24
5.0.20.0230.02016.24
5.0.10.0370.01716.24
5.0.00.0200.02716.24
4.4.90.0170.01016.24
4.4.80.0130.01716.24
4.4.70.0270.01016.24
4.4.60.0300.01316.24
4.4.50.0070.01316.24
4.4.40.0130.02316.24
4.4.30.0230.01716.24
4.4.20.0270.01316.24
4.4.10.0130.01316.24
4.4.00.0000.02716.24
4.3.110.0170.01316.24
4.3.100.0130.00716.24
4.3.90.0030.02016.24
4.3.80.0200.02716.24
4.3.70.0130.01716.24
4.3.60.0100.01316.24
4.3.50.0270.01716.24
4.3.40.0330.02316.24
4.3.30.0070.01316.24
4.3.20.0100.01716.24
4.3.10.0100.01316.24
4.3.00.0130.01316.24

preferences:
38.69 ms | 400 KiB | 5 Q