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]);

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.70.0040.01216.88
8.3.60.0120.00816.63
8.3.50.0170.00722.03
8.3.40.0150.00019.09
8.3.30.0100.00319.14
8.3.20.0040.00420.35
8.3.10.0000.00823.66
8.3.00.0040.00419.56
8.2.180.0170.00316.75
8.2.170.0140.00022.96
8.2.160.0070.00720.43
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0080.00019.73
8.2.110.0080.00019.35
8.2.100.0080.00417.91
8.2.90.0000.00818.09
8.2.80.0040.00417.97
8.2.70.0050.00317.88
8.2.60.0030.00617.93
8.2.50.0030.00618.07
8.2.40.0030.00518.25
8.2.30.0050.00318.27
8.2.20.0070.00017.96
8.2.10.0060.00318.16
8.2.00.0000.00717.89
8.1.280.0060.01225.92
8.1.270.0040.00423.86
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0100.00722.13
8.1.230.0000.01121.04
8.1.220.0030.00617.74
8.1.210.0000.00819.04
8.1.200.0060.00317.25
8.1.190.0030.00517.23
8.1.180.0050.00318.10
8.1.170.0040.00418.71
8.1.160.0070.00021.91
8.1.150.0070.00018.64
8.1.140.0080.00017.45
8.1.130.0050.00217.80
8.1.120.0080.00017.57
8.1.110.0040.00417.55
8.1.100.0000.00717.56
8.1.90.0030.00317.49
8.1.80.0040.00417.46
8.1.70.0040.00417.50
8.1.60.0080.00017.67
8.1.50.0030.00617.57
8.1.40.0000.00817.50
8.1.30.0000.00817.73
8.1.20.0040.00417.63
8.1.10.0040.00417.71
8.1.00.0030.00517.61
8.0.300.0060.00320.02
8.0.290.0060.00316.88
8.0.280.0030.00318.48
8.0.270.0040.00417.25
8.0.260.0070.00017.20
8.0.250.0030.00317.05
8.0.240.0080.00017.09
8.0.230.0000.00817.04
8.0.220.0070.00017.01
8.0.210.0070.00016.98
8.0.200.0030.00617.17
8.0.190.0040.00417.21
8.0.180.0050.00217.03
8.0.170.0050.00317.13
8.0.160.0000.00717.09
8.0.150.0070.00016.93
8.0.140.0040.00416.98
8.0.130.0000.00513.50
8.0.120.0000.00817.03
8.0.110.0040.00417.11
8.0.100.0050.00216.95
8.0.90.0070.00017.23
8.0.80.0100.01017.07
8.0.70.0070.00017.00
8.0.60.0000.00817.17
8.0.50.0040.00417.07
8.0.30.0100.00817.12
8.0.20.0100.01017.48
8.0.10.0050.00317.16
8.0.00.0060.01416.86
7.4.330.0000.00515.00
7.4.320.0030.00316.76
7.4.300.0000.00916.57
7.4.290.0070.00016.68
7.4.280.0030.00616.63
7.4.270.0040.00416.75
7.4.260.0110.00016.69
7.4.250.0000.00716.66
7.4.240.0040.00416.65
7.4.230.0000.00716.75
7.4.220.0120.00616.59
7.4.210.0090.00616.71
7.4.200.0070.00016.77
7.4.160.0100.01416.61
7.4.150.0280.01917.40
7.4.140.0060.01117.86
7.4.130.0140.00616.69
7.4.120.0100.00616.61
7.4.110.0000.01716.59
7.4.100.0120.01216.77
7.4.90.0120.01216.64
7.4.80.0090.01319.39
7.4.70.0070.01016.66
7.4.60.0140.00316.71
7.4.50.0000.00816.67
7.4.40.0140.00316.61
7.4.30.0120.00316.72
7.4.00.0030.00815.08
7.3.330.0020.00213.27
7.3.320.0060.00013.19
7.3.310.0000.00616.48
7.3.300.0030.00316.28
7.3.290.0040.01116.45
7.3.280.0060.01216.45
7.3.270.0110.00817.40
7.3.260.0130.01016.74
7.3.250.0110.00616.71
7.3.240.0030.01316.89
7.3.230.0080.00816.74
7.3.210.0040.01416.75
7.3.200.0100.00719.39
7.3.190.0070.01016.48
7.3.180.0080.00816.52
7.3.170.0130.00316.76
7.3.160.0120.00916.37
7.3.120.0030.01115.09
7.3.110.0060.01014.59
7.3.100.0060.00915.03
7.3.90.0050.01015.15
7.3.80.0030.01115.19
7.3.70.0070.00914.80
7.3.60.0030.01215.07
7.3.50.0030.01115.01
7.3.40.0060.00815.04
7.3.30.0060.00914.96
7.3.20.0020.01116.89
7.3.10.0070.00816.82
7.3.00.0050.01016.77
7.2.330.0090.01216.52
7.2.320.0070.01016.56
7.2.310.0040.01716.49
7.2.300.0100.00616.72
7.2.290.0080.00816.81
7.2.250.0000.01114.96
7.2.240.0030.01115.42
7.2.230.0030.00915.28
7.2.220.0070.00515.19
7.2.210.0080.00615.21
7.2.200.0040.00715.19
7.2.190.0080.01015.22
7.2.180.0020.01215.10
7.2.170.0030.01215.22
7.2.160.0030.01215.25
7.2.150.0100.00317.23
7.2.140.0090.00317.23
7.2.130.0040.01317.10
7.2.120.0100.00316.88
7.2.110.0120.00616.79
7.2.100.0120.00616.97
7.2.90.0040.01417.18
7.2.80.0130.00617.03
7.2.70.0000.01317.04
7.2.60.0120.00517.15
7.2.50.0030.01417.13
7.2.40.0150.00317.15
7.2.30.0060.01016.87
7.2.20.0090.00317.00
7.2.10.0070.01117.11
7.2.00.0070.01018.20
7.1.330.0070.00816.07
7.1.320.0040.01115.93
7.1.310.0090.00516.02
7.1.300.0070.00915.89
7.1.290.0070.00615.97
7.1.280.0060.00815.86
7.1.270.0100.00515.96
7.1.260.0030.00815.71
7.1.250.0040.01115.96
7.1.200.0070.00715.70
7.1.100.0000.01118.31
7.1.70.0000.00817.00
7.1.60.0160.00719.70
7.1.50.0180.01834.85
7.1.00.0070.07322.30
7.0.200.0130.00416.89
7.0.140.0030.07021.95
7.0.60.0170.07720.07
7.0.50.0070.06717.83
7.0.40.0200.07320.01
7.0.30.0270.04020.16
7.0.20.0300.07320.18
7.0.10.0330.07020.02
7.0.00.0030.09020.04
5.6.280.0070.07020.81
5.6.210.0170.08320.70
5.6.200.0030.04018.22
5.6.190.0100.08720.45
5.6.180.0070.05720.56
5.6.170.0300.04020.52
5.6.160.0070.05720.51
5.6.150.0070.05318.11
5.6.140.0070.08718.10
5.6.130.0030.04018.12
5.6.120.0030.04021.01
5.6.110.0070.07720.99
5.6.100.0130.08321.10
5.6.90.0100.07721.02
5.6.80.0030.06020.40
5.6.70.4270.03320.36
5.5.350.0000.08720.40
5.5.340.0100.07717.95
5.5.330.0000.04720.57
5.5.320.0230.08020.34
5.5.310.0300.07320.27
5.5.300.0070.08017.95
5.5.290.0030.05717.91
5.5.280.0000.04320.76
5.5.270.0000.09320.64
5.5.260.0100.08320.75
5.5.250.0130.07720.77
5.5.240.0170.07020.25
5.4.450.0170.04743.90
5.4.440.0070.03719.46
5.4.430.0330.04043.79
5.4.420.0270.03343.79
5.4.410.0330.04343.77
5.4.400.0400.02743.77
5.4.390.0200.04743.77
5.4.380.0130.05318.57
5.4.370.0200.04318.60
5.4.360.0100.06018.53
5.4.350.0170.05718.50
5.4.340.0230.04318.64
5.4.320.0070.04712.45
5.4.310.0050.03912.45
5.4.300.0080.03712.46
5.4.290.0060.03712.45
5.4.280.0070.03312.34
5.4.270.0050.04412.35
5.4.260.0050.04312.35
5.4.250.0090.04012.35
5.4.240.0070.03512.35
5.4.230.0090.03612.34
5.4.220.0040.03812.34
5.4.210.0050.03612.34
5.4.200.0070.03612.34
5.4.190.0030.04112.33
5.4.180.0070.03512.34
5.4.170.0090.03712.34
5.4.160.0080.03512.34
5.4.150.0090.04312.34
5.4.140.0070.04212.02
5.4.130.0060.03412.01
5.4.120.0080.04111.96
5.4.110.0060.04111.96
5.4.100.0060.03511.96
5.4.90.0060.03711.96
5.4.80.0090.03311.97
5.4.70.0080.03211.96
5.4.60.0060.03311.96
5.4.50.0040.03711.96
5.4.40.0070.04011.95
5.4.30.0040.04911.95
5.4.20.0050.03611.95
5.4.10.0060.03411.95
5.4.00.0090.04011.43
5.3.290.0080.03712.80
5.3.280.0060.03712.71
5.3.270.0070.04412.73
5.3.260.0010.04312.72
5.3.250.0060.04012.71
5.3.240.0070.04612.72
5.3.230.0090.03612.71
5.3.220.0090.03812.68
5.3.210.0100.03512.68
5.3.200.0080.03512.68
5.3.190.0080.04112.68
5.3.180.0060.03912.67
5.3.170.0040.03812.67
5.3.160.0080.03512.67
5.3.150.0040.04012.68
5.3.140.0070.03812.66
5.3.130.0100.04212.66
5.3.120.0050.04112.66
5.3.110.0070.04312.66
5.3.100.0080.03712.12
5.3.90.0080.03512.09
5.3.80.0060.03712.07
5.3.70.0060.03812.07
5.3.60.0050.03712.07
5.3.50.0030.03912.00
5.3.40.0090.03312.00
5.3.30.0080.03511.96
5.3.20.0080.04211.73
5.3.10.0080.03811.70
5.3.00.0080.04011.69
5.2.170.0020.0339.19
5.2.160.0060.0369.19
5.2.150.0030.0339.19
5.2.140.0040.0319.18
5.2.130.0110.0339.14
5.2.120.0060.0279.14
5.2.110.0080.0329.15
5.2.100.0040.0339.15
5.2.90.0050.0289.15
5.2.80.0050.0309.14
5.2.70.0040.0309.14
5.2.60.0020.0329.10
5.2.50.0070.0359.07
5.2.40.0040.0319.05
5.2.30.0040.0319.03
5.2.20.0040.0299.02
5.2.10.0070.0268.92
5.2.00.0060.0268.78
5.1.60.0040.0248.07
5.1.50.0050.0238.06
5.1.40.0000.0288.04
5.1.30.0050.0258.39
5.1.20.0030.0288.41
5.1.10.0060.0258.14
5.1.00.0020.0278.14
5.0.50.0010.0226.61
5.0.40.0040.0186.48
5.0.30.0070.0316.30
5.0.20.0030.0206.26
5.0.10.0050.0186.24
5.0.00.0040.0316.23
4.4.90.0050.0174.78
4.4.80.0030.0154.75
4.4.70.0020.0164.75
4.4.60.0020.0164.75
4.4.50.0020.0214.77
4.4.40.0040.0244.70
4.4.30.0030.0154.76
4.4.20.0020.0194.84
4.4.10.0040.0164.85
4.4.00.0030.0274.76
4.3.110.0030.0204.67
4.3.100.0030.0194.67
4.3.90.0020.0154.64
4.3.80.0060.0274.58
4.3.70.0030.0144.63
4.3.60.0040.0134.63
4.3.50.0040.0144.63
4.3.40.0030.0234.54
4.3.30.0050.0173.29
4.3.20.0020.0203.26
4.3.10.0020.0153.22
4.3.00.0030.02043.77

preferences:
43.49 ms | 401 KiB | 5 Q