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[0]); $regx= "/The job is for(.*?)\-/s"; $matches2 = array(); $t = preg_match($regx2, $text, $matches2); print_r($matches2[0]);

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.0060.00916.88
8.3.50.0150.00521.99
8.3.40.0030.01418.92
8.3.30.0180.00319.11
8.3.20.0070.00020.34
8.3.10.0080.00023.46
8.3.00.0080.00019.66
8.2.180.0120.00916.63
8.2.170.0120.00922.96
8.2.160.0100.00320.39
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0040.00419.48
8.2.110.0030.00619.39
8.2.100.0040.00717.93
8.2.90.0030.00519.25
8.2.80.0050.00317.97
8.2.70.0000.00817.75
8.2.60.0030.00618.04
8.2.50.0040.00418.10
8.2.40.0040.00418.28
8.2.30.0030.00518.21
8.2.20.0030.00517.83
8.2.10.0040.00418.07
8.2.00.0000.00717.97
8.1.280.0150.00025.92
8.1.270.0050.00324.01
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0000.00922.81
8.1.230.0120.00017.45
8.1.220.0000.00817.79
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0080.00017.10
8.1.180.0040.00418.10
8.1.170.0030.00518.49
8.1.160.0030.00521.97
8.1.150.0000.00718.54
8.1.140.0070.00017.40
8.1.130.0030.00317.74
8.1.120.0040.00417.30
8.1.110.0070.00317.43
8.1.100.0070.00017.39
8.1.90.0000.00717.31
8.1.80.0040.00417.41
8.1.70.0000.00717.36
8.1.60.0030.00517.53
8.1.50.0030.00617.37
8.1.40.0040.00417.35
8.1.30.0030.00617.58
8.1.20.0040.00417.59
8.1.10.0040.00417.46
8.1.00.0030.00517.45
8.0.300.0070.00018.77
8.0.290.0000.00716.88
8.0.280.0000.00718.36
8.0.270.0070.00017.27
8.0.260.0000.00617.25
8.0.250.0070.00017.06
8.0.240.0080.00017.02
8.0.230.0040.00417.05
8.0.220.0030.00317.00
8.0.210.0050.00316.83
8.0.200.0030.00617.02
8.0.190.0040.00416.99
8.0.180.0000.00817.06
8.0.170.0040.00417.03
8.0.160.0040.00416.84
8.0.150.0030.00316.81
8.0.140.0050.00316.86
8.0.130.0000.00613.41
8.0.120.0040.00416.90
8.0.110.0030.00616.90
8.0.100.0040.00416.79
8.0.90.0070.00016.92
8.0.80.0060.01616.84
8.0.70.0030.00316.84
8.0.60.0040.00417.09
8.0.50.0030.00516.92
8.0.30.0160.00317.20
8.0.20.0100.01217.40
8.0.10.0030.00517.08
8.0.00.0100.01016.83
7.4.330.0000.00515.05
7.4.320.0070.00016.76
7.4.300.0070.00016.57
7.4.290.0030.00316.74
7.4.280.0040.00416.66
7.4.270.0000.00716.56
7.4.260.0030.00716.72
7.4.250.0000.00716.70
7.4.240.0000.00816.70
7.4.230.0070.00016.86
7.4.220.0060.01216.84
7.4.210.0050.00816.68
7.4.200.0070.00016.56
7.4.160.0090.00916.69
7.4.150.0100.01417.40
7.4.140.0110.00817.86
7.4.130.0120.00616.84
7.4.120.0080.00916.66
7.4.110.0070.01016.73
7.4.100.0090.00916.96
7.4.90.0070.01016.75
7.4.80.0060.01619.39
7.4.70.0030.01916.65
7.4.60.0090.00916.81
7.4.50.0000.00816.70
7.4.40.0110.00716.66
7.4.30.0100.00716.62
7.4.00.0060.01015.35
7.3.330.0000.00513.29
7.3.320.0000.00513.15
7.3.310.0060.00016.42
7.3.300.0000.00716.46
7.3.290.0030.01416.49
7.3.280.0100.00916.51
7.3.270.0180.00417.40
7.3.260.0110.03016.47
7.3.250.0110.00616.81
7.3.240.0100.00716.82
7.3.230.0100.00616.75
7.3.210.0150.00316.88
7.3.200.0100.00719.39
7.3.190.0120.00416.52
7.3.180.0090.00616.72
7.3.170.0100.00716.51
7.3.160.0030.01916.48
7.3.120.0040.01415.29
7.3.10.0170.00716.50
7.3.00.0240.00616.41
7.2.330.0070.01116.80
7.2.320.0030.01316.75
7.2.310.0070.01716.73
7.2.300.0140.00316.66
7.2.290.0090.01316.84
7.2.130.0140.00816.90
7.2.120.0110.01116.60
7.2.110.0230.00516.51
7.2.100.0130.00516.72
7.2.90.0150.00516.56
7.2.80.0080.01016.79
7.2.70.0100.00716.71
7.2.60.0140.00716.59
7.2.50.0040.01416.72
7.2.40.0110.00716.67
7.2.30.0070.01016.59
7.2.20.0080.00916.66
7.2.10.0130.00516.65
7.2.00.0120.00417.81
7.1.250.0100.00515.80
7.1.200.0030.01015.96
7.1.100.0030.00718.58
7.1.70.0070.00017.41
7.1.60.0140.01019.70
7.1.50.0220.01234.70
7.1.00.0030.07322.34
7.0.200.0060.00616.62
7.0.140.0070.07321.98
7.0.60.0070.08020.02
7.0.50.0100.07717.83
7.0.40.0070.08320.34
7.0.30.0130.04320.20
7.0.20.0330.04720.21
7.0.10.0030.05019.98
7.0.00.0100.08020.20
5.6.280.0030.07320.89
5.6.210.0070.06320.50
5.6.200.0100.05318.17
5.6.190.0030.04320.64
5.6.180.0600.05720.42
5.6.170.0300.07320.52
5.6.160.0070.05320.37
5.6.150.0030.08718.11
5.6.140.0000.06018.16
5.6.130.0130.08018.21
5.6.120.0030.06720.99
5.6.110.0070.08720.98
5.6.100.0070.07721.00
5.6.90.0170.06020.99
5.6.80.0070.07720.50
5.5.350.0370.07320.52
5.5.340.0000.05018.02
5.5.330.0030.04720.06
5.5.320.0070.06320.31
5.5.310.0230.05720.28
5.5.300.0030.05017.96
5.5.290.0070.05318.02
5.5.280.0030.09020.72
5.5.270.0070.04720.72
5.5.260.0100.08020.86
5.5.250.0070.04020.74
5.5.240.0170.06720.18
5.4.450.0670.05019.54
5.4.440.1000.05719.60
5.4.430.0900.05319.57
5.4.420.0870.05319.62
5.4.410.0770.05019.47
5.4.400.1030.04718.78
5.4.390.0770.06318.95
5.4.380.0070.06018.61
5.4.370.0130.07018.61
5.4.360.0170.04718.62
5.4.350.0070.06018.61
5.4.340.0070.06018.66
5.4.320.0030.03912.46
5.4.310.0110.04212.45
5.4.300.0070.03912.45
5.4.290.0040.04912.45
5.4.280.0060.04012.35
5.4.270.0070.03512.34
5.4.260.0040.03912.35
5.4.250.0060.03812.35
5.4.240.0070.03512.34
5.4.230.0050.03812.34
5.4.220.0060.04212.34
5.4.210.0040.03812.34
5.4.200.0040.03812.34
5.4.190.0080.04012.33
5.4.180.0110.03612.34
5.4.170.0040.03712.35
5.4.160.0070.04112.34
5.4.150.0040.03812.34
5.4.140.0100.03912.02
5.4.130.0080.03412.01
5.4.120.0070.03411.96
5.4.110.0080.04011.96
5.4.100.0070.03311.96
5.4.90.0070.03711.96
5.4.80.0060.03611.96
5.4.70.0060.03411.96
5.4.60.0080.03211.96
5.4.50.0070.03411.96
5.4.40.0080.03211.95
5.4.30.0060.03711.95
5.4.20.0070.04211.95
5.4.10.0110.02911.95
5.4.00.0040.03911.44
5.3.290.0050.04512.80
5.3.280.0040.04112.71
5.3.270.0050.04412.72
5.3.260.0060.04112.72
5.3.250.0070.03612.72
5.3.240.0060.03912.72
5.3.230.0070.03612.71
5.3.220.0060.03712.68
5.3.210.0050.04012.68
5.3.200.0050.03712.68
5.3.190.0070.03812.68
5.3.180.0050.03612.68
5.3.170.0090.03912.67
5.3.160.0100.03612.67
5.3.150.0050.03812.68
5.3.140.0070.03512.66
5.3.130.0070.03912.66
5.3.120.0070.03812.66
5.3.110.0100.04112.66
5.3.100.0030.03912.12
5.3.90.0080.03512.09
5.3.80.0060.03512.07
5.3.70.0060.03612.07
5.3.60.0050.03712.06
5.3.50.0040.03812.00
5.3.40.0090.03912.00
5.3.30.0060.03911.96
5.3.20.0040.03611.73
5.3.10.0050.03511.70
5.3.00.0080.03411.69
5.2.170.0060.0289.19
5.2.160.0050.0389.19
5.2.150.0030.0369.19
5.2.140.0070.0299.19
5.2.130.0100.0359.14
5.2.120.0060.0349.14
5.2.110.0050.0309.15
5.2.100.0050.0289.15
5.2.90.0040.0309.15
5.2.80.0050.0309.15
5.2.70.0040.0319.15
5.2.60.0060.0289.10
5.2.50.0030.0329.07
5.2.40.0020.0319.05
5.2.30.0060.0329.03
5.2.20.0060.0279.01
5.2.10.0080.0278.92
5.2.00.0070.0268.78
5.1.60.0060.0238.06
5.1.50.0030.0258.06
5.1.40.0030.0268.04
5.1.30.0050.0268.39
5.1.20.0050.0268.41
5.1.10.0050.0268.14
5.1.00.0030.0288.14
5.0.50.0040.0256.61
5.0.40.0040.0256.48
5.0.30.0060.0316.29
5.0.20.0060.0196.26
5.0.10.0040.0216.24
5.0.00.0050.0306.23
4.4.90.0030.0184.78
4.4.80.0050.0164.75
4.4.70.0050.0144.75
4.4.60.0050.0164.76
4.4.50.0030.0224.77
4.4.40.0040.0244.71
4.4.30.0040.0214.76
4.4.20.0030.0174.84
4.4.10.0030.0174.85
4.4.00.0050.0244.75
4.3.110.0020.0174.67
4.3.100.0000.0184.66
4.3.90.0030.0154.64
4.3.80.0040.0474.58
4.3.70.0030.0184.63
4.3.60.0050.0224.63
4.3.50.0050.0154.62
4.3.40.0040.0264.54
4.3.30.0010.0183.29
4.3.20.0000.0213.27
4.3.10.0040.0153.22
4.3.00.0100.01343.77

preferences:
38.95 ms | 401 KiB | 5 Q