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]); $regx2= "/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.01316.75
8.3.50.0110.00622.03
8.3.40.0150.00018.96
8.3.30.0070.00719.07
8.3.20.0040.00420.21
8.3.10.0050.00323.65
8.3.00.0080.00019.55
8.2.180.0150.00618.79
8.2.170.0070.00722.96
8.2.160.0030.01022.38
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0040.00419.61
8.2.110.0000.01022.23
8.2.100.0040.00718.28
8.2.90.0000.00819.22
8.2.80.0080.00017.97
8.2.70.0060.00318.00
8.2.60.0000.00817.91
8.2.50.0000.00918.07
8.2.40.0030.00618.28
8.2.30.0000.00718.23
8.2.20.0040.00417.93
8.2.10.0000.00718.16
8.2.00.0000.00818.03
8.1.280.0060.00925.92
8.1.270.0080.00023.88
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0030.00624.02
8.1.230.0110.00019.11
8.1.220.0000.00817.79
8.1.210.0050.00318.77
8.1.200.0030.00617.38
8.1.190.0050.00317.25
8.1.180.0030.00618.10
8.1.170.0050.00318.68
8.1.160.0000.00721.99
8.1.150.0070.00018.69
8.1.140.0050.00317.55
8.1.130.0050.00317.86
8.1.120.0000.00717.48
8.1.110.0100.00017.55
8.1.100.0040.00417.56
8.1.90.0070.00017.60
8.1.80.0050.00317.46
8.1.70.0050.00317.51
8.1.60.0030.00617.72
8.1.50.0040.00417.64
8.1.40.0080.00017.57
8.1.30.0040.00417.58
8.1.20.0020.00517.75
8.1.10.0000.00817.72
8.1.00.0040.00417.55
8.0.300.0080.00018.77
8.0.290.0090.00017.00
8.0.280.0030.00318.41
8.0.270.0000.00717.23
8.0.260.0030.00317.23
8.0.250.0000.00717.18
8.0.240.0040.00417.04
8.0.230.0000.00717.08
8.0.220.0030.00317.16
8.0.210.0030.00317.08
8.0.200.0050.00517.13
8.0.190.0060.00317.17
8.0.180.0040.00417.05
8.0.170.0030.00517.04
8.0.160.0040.00417.12
8.0.150.0040.00417.07
8.0.140.0040.00417.05
8.0.130.0050.00013.54
8.0.120.0040.00417.12
8.0.110.0040.00417.07
8.0.100.0030.00517.11
8.0.90.0000.00817.05
8.0.80.0030.01317.09
8.0.70.0040.00417.02
8.0.60.0020.00517.10
8.0.50.0050.00317.09
8.0.30.0150.00517.17
8.0.20.0110.00817.43
8.0.10.0030.00317.01
8.0.00.0110.00617.07
7.4.330.0020.00215.05
7.4.320.0040.00416.81
7.4.300.0090.00016.71
7.4.290.0080.00016.62
7.4.280.0030.00316.77
7.4.270.0000.00716.77
7.4.260.0030.00316.65
7.4.250.0040.00416.70
7.4.240.0030.00516.66
7.4.230.0030.00316.87
7.4.220.0100.01016.67
7.4.210.0110.00416.80
7.4.200.0070.00016.72
7.4.160.0040.01116.58
7.4.150.0150.00317.40
7.4.140.0120.01217.86
7.4.130.0100.00716.81
7.4.120.0100.00716.70
7.4.110.0060.01616.66
7.4.100.0110.00716.71
7.4.90.0100.00716.62
7.4.80.0070.01519.39
7.4.70.0080.00816.53
7.4.60.0100.00616.75
7.4.50.0090.00016.51
7.4.40.0110.00816.70
7.4.30.0090.00916.56
7.4.00.0030.01314.97
7.3.330.0000.00613.20
7.3.320.0000.00513.22
7.3.310.0040.00416.45
7.3.300.0000.00716.36
7.3.290.0150.00016.39
7.3.280.0140.00416.37
7.3.270.0100.00717.40
7.3.260.0060.01216.80
7.3.250.0080.01016.50
7.3.240.0000.02216.38
7.3.230.0170.00316.43
7.3.210.0130.00316.64
7.3.200.0100.00719.39
7.3.190.0090.00916.64
7.3.180.0300.00916.80
7.3.170.0060.01016.82
7.3.160.0110.00916.61
7.3.120.0070.00715.20
7.3.00.0070.01016.56
7.2.330.0170.00016.96
7.2.320.0150.00416.44
7.2.310.0120.01216.68
7.2.300.0040.01216.66
7.2.290.0090.00716.77
7.2.130.0060.00916.95
7.2.120.0080.00516.39
7.2.110.0130.00616.61
7.2.100.0130.00716.81
7.2.90.0140.00616.85
7.2.80.0120.00816.89
7.2.70.0130.00816.94
7.2.60.0100.00816.99
7.2.50.0150.00916.82
7.2.40.0090.01116.89
7.2.30.0140.00616.79
7.2.20.0100.00716.76
7.2.10.0110.00916.99
7.2.00.0080.01018.02
7.1.250.0130.00615.98
7.1.240.0100.00615.91
7.1.230.0150.00515.91
7.1.220.0140.00715.95
7.1.210.0100.00715.96
7.1.200.0210.00515.83
7.1.190.0140.00815.77
7.1.180.0180.00415.86
7.1.170.0140.00615.88
7.1.160.0180.00615.83
7.1.150.0090.00915.79
7.1.140.0140.01115.68
7.1.130.0150.00615.91
7.1.120.0110.00715.77
7.1.110.0120.00715.91
7.1.100.0100.00616.77
7.1.90.0090.00615.85
7.1.80.0140.00415.87
7.1.70.0090.00416.35
7.1.60.0090.01017.30
7.1.50.0150.01122.35
7.1.40.0130.00616.06
7.1.30.0180.00215.96
7.1.20.0110.00815.82
7.1.10.0070.00715.73
7.1.00.0120.02818.11
7.0.330.0040.00815.58
7.0.320.0090.00315.37
7.0.310.0110.00415.53
7.0.300.0120.00515.46
7.0.290.0090.00615.59
7.0.280.0120.00615.60
7.0.270.0100.01015.43
7.0.260.0090.00715.36
7.0.250.0160.00415.46
7.0.240.0140.00315.27
7.0.230.0110.00515.39
7.0.220.0070.00715.50
7.0.210.0110.00415.54
7.0.200.0070.00715.92
7.0.190.0140.00515.42
7.0.180.0120.00515.46
7.0.170.0070.01015.56
7.0.160.0110.00515.34
7.0.150.0080.01115.56
7.0.140.0050.03017.51
7.0.130.0130.00615.47
7.0.120.0130.00415.41
7.0.110.0110.00715.37
7.0.100.0120.02317.02
7.0.90.0080.03217.00
7.0.80.0130.03116.83
7.0.70.0130.03016.94
7.0.60.0170.01816.88
7.0.50.0120.01917.15
7.0.40.0150.02915.63
7.0.30.0120.02015.62
7.0.20.0110.03315.83
7.0.10.0140.02315.70
7.0.00.0180.02815.63
5.6.380.0100.00514.28
5.6.370.0100.00414.27
5.6.360.0120.00514.34
5.6.350.0070.00614.14
5.6.340.0080.00914.29
5.6.330.0070.00614.25
5.6.320.0090.00914.22
5.6.310.0100.00514.36
5.6.300.0100.00314.09
5.6.290.0050.00914.27
5.6.280.0070.03116.50
5.6.270.0090.00914.29
5.6.260.0080.00714.27
5.6.250.0080.02716.58
5.6.240.0090.03116.44
5.6.230.0110.03116.40
5.6.220.0090.02916.36
5.6.210.0070.03316.42
5.6.200.0110.02816.42
5.6.190.0050.03516.47
5.6.180.0160.03116.56
5.6.170.0050.02616.43
5.6.160.0060.02916.32
5.6.150.0140.02916.37
5.6.140.0110.02516.42
5.6.130.0070.03316.46
5.6.120.0110.03216.58
5.6.110.0150.03216.53
5.6.100.0100.02716.59
5.6.90.0120.03316.34
5.6.80.0160.02816.36
5.6.70.0120.02416.16
5.6.60.0090.03416.22
5.6.50.0160.02416.19
5.6.40.0080.02416.24
5.6.30.0110.03116.25
5.6.20.0100.03016.27
5.6.10.0130.02916.17
5.6.00.0170.02716.22
5.5.380.0130.02514.79
5.5.370.0080.02914.80
5.5.360.0090.02914.78
5.5.350.0090.02214.77
5.5.340.0060.02314.96
5.5.330.0050.03414.94
5.5.320.0070.02514.90
5.5.310.0070.03214.94
5.5.300.0130.03114.91
5.5.290.0110.02114.96
5.5.280.0080.03114.87
5.5.270.0090.03114.94
5.5.260.0110.02614.94
5.5.250.0030.02514.80
5.5.240.0100.03314.70
5.5.230.0130.02114.71
5.5.220.0080.02614.75
5.5.210.0060.03114.66
5.5.200.0100.02214.68
5.5.190.0090.02914.70
5.5.180.0050.03114.74
5.5.170.0140.00612.79
5.5.160.0070.02714.74
5.5.150.0110.02314.74
5.5.140.0110.02614.75
5.5.130.0090.02814.69
5.5.120.0120.02414.64
5.5.110.0090.02714.70
5.5.100.0130.02014.66
5.5.90.0170.02314.68
5.5.80.0090.02914.67
5.5.70.0070.02514.67
5.5.60.0070.03214.69
5.5.50.0100.01814.67
5.5.40.0070.02914.70
5.5.30.0100.02614.68
5.5.20.0030.03414.68
5.5.10.0090.02814.70
5.5.00.0100.02814.66
5.4.450.0110.02014.51
5.4.440.0130.02914.40
5.4.430.0120.02514.36
5.4.420.0180.02714.46
5.4.410.0160.02514.40
5.4.400.0100.03114.37
5.4.390.0150.02614.29
5.4.380.0180.02514.31
5.4.370.0130.03014.30
5.4.360.0150.02714.40
5.4.350.0130.02914.38
5.4.340.0150.02814.34
5.4.330.0140.00411.98
5.4.320.0080.03014.38
5.4.310.0080.02414.34
5.4.300.0100.03114.40
5.4.290.0170.02714.31
5.4.280.0050.03314.29
5.4.270.0090.03014.36
5.4.260.0100.02614.37
5.4.250.0140.02214.40
5.4.240.0090.02114.34
5.4.230.0040.03014.36
5.4.220.0130.02414.34
5.4.210.0040.02914.35
5.4.200.0060.02114.33
5.4.190.0040.03014.34
5.4.180.0030.03214.34
5.4.170.0120.02314.31
5.4.160.0100.02514.36
5.4.150.0060.02814.25
5.4.140.0060.03113.47
5.4.130.0070.02713.43
5.4.120.0070.02513.45
5.4.110.0070.02713.43
5.4.100.0090.02313.43
5.4.90.0080.02713.47
5.4.80.0080.02513.43
5.4.70.0090.02613.41
5.4.60.0030.03213.46
5.4.50.0060.02813.46
5.4.40.0040.03113.43
5.4.30.0060.03013.48
5.4.20.0060.02913.45
5.4.10.0050.01913.45
5.4.00.0070.02613.22
5.3.290.0090.02812.83
5.3.280.0010.03312.82
5.3.270.0090.02612.84
5.3.260.0100.02912.80
5.3.250.0100.02712.85
5.3.240.0090.02412.86
5.3.230.0060.02712.85
5.3.220.0040.02212.83
5.3.210.0070.02912.82
5.3.200.0100.02212.85
5.3.190.0090.02412.84
5.3.180.0070.02712.82
5.3.170.0070.02612.83
5.3.160.0070.02112.85
5.3.150.0080.02812.84
5.3.140.0080.02812.79
5.3.130.0140.02212.84
5.3.120.0080.02912.83
5.3.110.0060.02812.79
5.3.100.0060.02612.67
5.3.90.0030.02912.64
5.3.80.0060.02712.62
5.3.70.0070.02712.64
5.3.60.0070.02912.65
5.3.50.0080.02912.64
5.3.40.0080.02812.63
5.3.30.0070.02512.62
5.3.20.0090.01812.53
5.3.10.0060.02612.49
5.3.00.0010.03412.53
5.2.170.0030.02611.64
5.2.160.0070.02311.64
5.2.150.0040.01911.72
5.2.140.0060.02711.67
5.2.130.0040.02311.61
5.2.120.0060.02311.69
5.2.110.0070.02111.69
5.2.100.0070.02011.67
5.2.90.0060.02011.67
5.2.80.0130.02411.68
5.2.70.0070.02311.62
5.2.60.0100.01811.63
5.2.50.0070.02011.67
5.2.40.0030.02611.64
5.2.30.0090.02111.59
5.2.20.0080.02211.64
5.2.10.0070.02411.59
5.2.00.0040.01811.55
5.1.60.0040.02111.33
5.1.50.0060.01011.32
5.1.40.0050.01911.34
5.1.30.0060.02011.41
5.1.20.0050.02211.45
5.1.10.0090.01611.34
5.1.00.0020.02311.34
5.0.50.0070.01110.84
5.0.40.0060.01610.74
5.0.30.0070.02510.69
5.0.20.0050.01610.73
5.0.10.0030.01610.67
5.0.00.0040.01610.71
4.4.90.0060.01210.67
4.4.80.0050.01210.67
4.4.70.0040.01410.67
4.4.60.0020.01210.67
4.4.50.0020.01410.67
4.4.40.0050.01910.67
4.4.30.0060.01110.67
4.4.20.0010.01510.67
4.4.10.0030.01310.67
4.4.00.0070.01510.67
4.3.110.0050.00910.67
4.3.100.0040.01310.67
4.3.90.0030.01210.67
4.3.80.0030.02010.67
4.3.70.0010.01510.67
4.3.60.0040.01210.67
4.3.50.0010.01310.67
4.3.40.0010.02110.67
4.3.30.0010.01510.67
4.3.20.0030.01310.67
4.3.10.0010.01610.67
4.3.00.0010.01410.67

preferences:
55.87 ms | 401 KiB | 5 Q