3v4l.org

run code in 300+ PHP versions simultaneously
<?php $subject = "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."; $var['machine']="1Action == machine"; preg_match("/(?<!\d)\d{8}(?!\d)/", strip_tags($subject), $matches); $var['serial']=$matches[0]; print_r($var['machine']); print_r($var['serial']); $regx= "/$matches[0](.*?)\The job is for/s"; $matches = array(); $t = preg_match($regx, $subject, $matches); $var['subject']= $matches[1]; //this should be the fault message print_r($var['subject']);

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.0070.00717.13
8.3.50.0070.01122.05
8.3.40.0110.01119.06
8.3.30.0120.00919.27
8.3.20.0040.00420.16
8.3.10.0040.00423.70
8.3.00.0080.00019.79
8.2.180.0120.00317.13
8.2.170.0040.01122.96
8.2.160.0070.00720.55
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00526.16
8.2.120.0000.00821.00
8.2.110.0100.01020.45
8.2.100.0040.00818.16
8.2.90.0030.00619.17
8.2.80.0080.00018.00
8.2.70.0030.00517.86
8.2.60.0050.00517.79
8.2.50.0040.00418.07
8.2.40.0060.00320.01
8.2.30.0050.00318.41
8.2.20.0070.00018.02
8.2.10.0080.00018.13
8.2.00.0060.00318.04
8.1.280.0100.01025.92
8.1.270.0080.00023.83
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0030.00622.31
8.1.230.0090.00317.83
8.1.220.0080.00018.04
8.1.210.0000.00818.77
8.1.200.0000.01017.48
8.1.190.0040.00417.48
8.1.180.0000.00818.10
8.1.170.0000.00818.70
8.1.160.0070.00021.98
8.1.150.0040.00418.67
8.1.140.0000.00817.64
8.1.130.0000.00717.80
8.1.120.0040.00417.55
8.1.110.0060.00617.57
8.1.100.0020.00517.51
8.1.90.0070.00017.54
8.1.80.0000.00717.49
8.1.70.0030.00317.59
8.1.60.0060.00317.71
8.1.50.0000.00917.57
8.1.40.0060.00317.66
8.1.30.0000.00917.71
8.1.20.0040.00417.77
8.1.10.0080.00017.64
8.1.00.0000.00817.58
8.0.300.0000.00818.77
8.0.290.0080.00017.00
8.0.280.0000.00718.46
8.0.270.0000.00717.30
8.0.260.0000.00617.28
8.0.250.0000.00717.23
8.0.240.0080.00017.10
8.0.230.0030.00317.22
8.0.220.0040.00417.03
8.0.210.0070.00017.13
8.0.200.0060.00017.27
8.0.190.0040.00417.16
8.0.180.0040.00417.13
8.0.170.0050.00317.09
8.0.160.0040.00417.12
8.0.150.0000.00816.97
8.0.140.0040.00417.11
8.0.130.0030.00313.57
8.0.120.0060.00317.10
8.0.110.0040.00417.18
8.0.100.0040.00417.02
8.0.90.0050.00217.02
8.0.80.0030.01617.15
8.0.70.0040.00417.18
8.0.60.0040.00416.96
8.0.50.0030.00517.05
8.0.30.0080.01117.25
8.0.20.0080.01117.40
8.0.10.0040.00417.18
8.0.00.0070.01216.80
7.4.330.0030.00315.05
7.4.320.0000.00716.74
7.4.300.0000.00716.78
7.4.290.0000.00716.83
7.4.280.0060.00316.70
7.4.270.0040.00316.71
7.4.260.0050.00516.69
7.4.250.0050.00316.61
7.4.240.0060.00116.79
7.4.230.0070.00016.54
7.4.220.0090.00916.81
7.4.210.0040.01116.73
7.4.200.0000.00716.85
7.4.160.0100.00716.69
7.4.150.0140.00617.40
7.4.140.0110.01017.86
7.4.130.0090.01116.79
7.4.120.0120.00516.80
7.4.110.0060.01316.81
7.4.100.0030.01416.82
7.4.90.0160.00316.73
7.4.80.0090.01319.39
7.4.70.0100.00716.82
7.4.60.0100.00716.67
7.4.50.0020.00216.75
7.4.40.0100.00716.83
7.4.30.0090.00816.69
7.4.10.0100.00315.13
7.4.00.0040.01315.07
7.3.330.0020.00213.14
7.3.320.0000.00513.32
7.3.310.0030.00316.46
7.3.300.0070.00016.41
7.3.290.0000.01516.44
7.3.280.0120.00616.48
7.3.270.0140.00617.40
7.3.260.0100.00916.48
7.3.250.0130.00816.48
7.3.240.0130.00916.46
7.3.230.0090.00616.73
7.3.210.0070.01016.52
7.3.200.0110.01119.39
7.3.190.0100.00616.80
7.3.180.0070.00916.69
7.3.170.0120.00316.51
7.3.160.0100.00716.73
7.3.130.0060.00915.17
7.3.120.0080.00715.26
7.3.110.0130.00614.85
7.3.100.0060.01215.11
7.3.90.0100.00014.96
7.3.80.0040.01215.34
7.3.70.0000.01415.05
7.3.60.0060.00914.76
7.3.50.0030.01214.78
7.3.40.0030.01015.13
7.3.30.0070.00715.05
7.3.20.0060.01216.48
7.3.10.0030.01016.48
7.3.00.0090.00616.82
7.2.330.0200.00616.82
7.2.320.0000.01616.66
7.2.310.0090.00916.89
7.2.300.0140.00316.80
7.2.290.0080.00816.90
7.2.260.0060.01014.94
7.2.250.0030.01315.30
7.2.240.0000.01515.10
7.2.230.0110.00815.14
7.2.220.0090.00915.31
7.2.210.0090.00915.16
7.2.200.0040.01415.23
7.2.190.0030.01315.24
7.2.180.0100.00315.10
7.2.170.0070.00714.99
7.2.160.0070.00715.07
7.2.150.0070.01117.07
7.2.140.0040.01417.10
7.2.130.0070.01117.04
7.2.120.0140.00016.95
7.2.110.0030.00917.16
7.2.100.0030.00917.05
7.2.90.0070.01017.34
7.2.80.0060.00316.80
7.2.70.0070.00717.11
7.2.60.0070.01017.29
7.2.50.0100.00717.11
7.2.40.0120.00317.04
7.2.30.0120.00317.12
7.2.20.0110.00417.14
7.2.10.0070.01116.75
7.2.00.0050.00918.30
7.1.330.0030.00915.68
7.1.320.0100.01015.70
7.1.310.0040.00815.91
7.1.300.0110.00316.16
7.1.290.0030.00615.74
7.1.280.0060.00615.95
7.1.270.0030.01015.69
7.1.260.0060.00615.74
7.1.250.0080.00815.92
7.1.240.0080.00415.95
7.1.230.0040.00715.78
7.1.220.0090.00616.09
7.1.210.0040.01215.92
7.1.200.0000.01015.89
7.1.190.0030.00915.84
7.1.180.0070.00416.14
7.1.170.0110.00415.89
7.1.160.0030.00915.69
7.1.150.0030.01015.93
7.1.140.0100.00316.03
7.1.130.0070.00715.95
7.1.120.0070.00716.00
7.1.110.0060.00615.99
7.1.100.0050.00717.13
7.1.90.0070.00716.14
7.1.80.0060.00615.73
7.1.70.0040.00616.56
7.1.60.0060.01217.81
7.1.50.0140.00516.47
7.1.40.0070.01015.92
7.1.30.0030.01016.02
7.1.20.0000.01515.99
7.1.10.0030.00716.05
7.1.00.0020.04219.03
7.0.330.0040.01115.39
7.0.320.0060.01215.59
7.0.310.0030.00715.36
7.0.300.0030.01215.70
7.0.290.0090.00315.38
7.0.280.0030.00915.71
7.0.270.0060.00615.40
7.0.260.0070.00715.70
7.0.250.0080.00415.62
7.0.240.0040.01115.45
7.0.230.0030.00915.71
7.0.220.0080.00315.51
7.0.210.0060.00315.45
7.0.200.0060.00616.18
7.0.190.0000.01415.58
7.0.180.0080.00615.50
7.0.170.0070.00415.71
7.0.160.0040.00415.71
7.0.150.0030.00915.63
7.0.140.0020.04518.88
7.0.130.0080.00315.69
7.0.120.0060.00615.41
7.0.110.0090.00615.73
7.0.100.0080.00415.50
7.0.90.0050.00515.64
7.0.80.0030.00915.71
7.0.70.0100.00315.31
7.0.60.0070.04017.88
7.0.50.0030.04616.71
7.0.40.0020.03817.10
7.0.30.0250.02316.76
7.0.20.0130.03516.93
7.0.10.0030.04817.08
7.0.00.0050.05216.93
5.6.400.0030.00614.38
5.6.390.0060.00914.72
5.6.380.0060.00914.25
5.6.370.0000.01314.42
5.6.360.0060.00614.34
5.6.350.0030.01214.77
5.6.340.0040.01114.01
5.6.330.0030.00614.35
5.6.320.0000.00914.48
5.6.310.0030.01014.40
5.6.300.0040.01114.72
5.6.290.0090.00914.41
5.6.280.0060.03617.65
5.6.270.0070.00714.74
5.6.260.0060.00614.38
5.6.250.0000.01114.33
5.6.240.0000.01414.56
5.6.230.0000.01014.51
5.6.220.0080.00814.54
5.6.210.0080.04317.56
5.6.200.0030.02716.27
5.6.190.0080.03017.69
5.6.180.1690.02717.53
5.6.170.0120.02417.60
5.6.160.0060.02517.44
5.6.150.0050.04716.26
5.6.140.0070.04316.42
5.6.130.0080.04216.21
5.6.120.0100.04017.70
5.6.110.0050.04317.65
5.6.100.0020.04317.83
5.6.90.0030.04217.81
5.6.80.0100.04017.42
5.6.70.2310.01817.30
5.6.60.0040.00814.63
5.6.50.0100.00314.45
5.6.40.0070.00714.67
5.6.30.0090.00614.52
5.6.20.0110.00014.47
5.6.10.0000.01414.59
5.6.00.0090.00914.54
5.5.380.0060.00614.36
5.5.370.0080.00514.47
5.5.360.0040.01114.20
5.5.350.0000.02417.44
5.5.340.0060.03616.09
5.5.330.0120.03517.40
5.5.320.0140.03817.21
5.5.310.0100.04817.23
5.5.300.0030.02516.15
5.5.290.0070.03716.15
5.5.280.0030.03017.65
5.5.270.0070.02417.65
5.5.260.0080.04317.44
5.5.250.0060.03717.58
5.5.240.0230.03317.21
5.5.230.0080.00814.12
5.5.220.0000.01314.36
5.5.210.0040.00814.28
5.5.200.0100.00314.10
5.5.190.0030.01014.50
5.5.180.0100.00314.39
5.5.170.0070.01114.29
5.5.160.0000.01814.30
5.5.150.0060.00614.43
5.5.140.0060.00714.04
5.5.130.0070.00714.34
5.5.120.0060.00914.52
5.5.110.0060.01014.44
5.5.100.0090.00614.17
5.5.90.0000.00914.47
5.5.80.0090.00614.21
5.5.70.0090.00414.31
5.5.60.0100.00314.61
5.5.50.0100.00314.48
5.5.40.0060.00614.30
5.5.30.0120.00614.29
5.5.20.0030.01314.16
5.5.10.0100.00614.52
5.5.00.0000.00914.38
5.4.450.0930.02715.38
5.4.440.0880.02215.13
5.4.430.1040.02415.17
5.4.420.0980.02215.47
5.4.410.0900.01815.27
5.4.400.0710.02615.03
5.4.390.0060.04114.98
5.4.380.0040.03415.11
5.4.370.0670.03215.00
5.4.360.0960.02614.88
5.4.350.0920.02215.10
5.4.340.1030.02915.23
5.4.330.0030.00910.84
5.4.320.1000.02715.06
5.4.310.1000.02315.25
5.4.300.0950.02415.20
5.4.290.0930.02315.18
5.4.280.0870.02515.12
5.4.270.1070.02214.82
5.4.260.0620.02115.18
5.4.250.0000.02615.15
5.4.240.0020.02715.03
5.4.230.0730.02614.95
5.4.220.0800.02314.96
5.4.210.0920.02815.30
5.4.200.1000.02415.23
5.4.190.0880.02314.93
5.4.180.0950.02515.23
5.4.170.0920.02615.15
5.4.160.0970.02015.13
5.4.150.1060.02215.01
5.4.140.1050.02313.68
5.4.130.0730.01813.62
5.4.120.0050.02213.67
5.4.110.0050.02513.67
5.4.100.0550.02313.62
5.4.90.1120.02513.85
5.4.80.0970.01713.68
5.4.70.0880.02513.62
5.4.60.0920.02213.77
5.4.50.0900.02313.54
5.4.40.0910.02313.66
5.4.30.0980.01513.79
5.4.20.1000.02213.87
5.4.10.0920.02213.72
5.4.00.0950.01813.50
5.3.290.0280.02112.63
5.3.280.0020.02312.52
5.3.270.0100.02412.48
5.3.260.0950.02012.62
5.3.250.1000.01812.60
5.3.240.0970.01712.46
5.3.230.1020.02012.37
5.3.220.1010.01912.48
5.3.210.1080.02112.50
5.3.200.0990.02212.46
5.3.190.0960.01512.53
5.3.180.0930.02012.53
5.3.170.1140.02012.61
5.3.160.0730.02112.60
5.3.150.0050.02212.42
5.3.140.0090.03212.58
5.3.130.0650.02612.49
5.3.120.1000.02612.44
5.3.110.0870.02212.52
5.3.100.1000.01912.23
5.3.90.0990.02212.29
5.3.80.1080.01812.23
5.3.70.0980.02712.16
5.3.60.0970.02512.13
5.3.50.1060.02012.14
5.3.40.0950.01712.11
5.3.30.0550.02212.12
5.3.20.0050.02312.00
5.3.10.0050.01711.90
5.3.00.0800.01611.87
5.2.170.1500.03711.20
5.2.160.1500.02711.05
5.2.150.1530.02711.08
5.2.140.1400.03010.98
5.2.130.1500.03010.96
5.2.120.1330.02711.02
5.2.110.1430.02710.93
5.2.100.1430.02711.15
5.2.90.1130.03311.15
5.2.80.1470.03011.03
5.2.70.1470.03011.27
5.2.60.1770.02710.98
5.2.50.0030.02710.82
5.2.40.0030.03010.83
5.2.30.0030.02710.81
5.2.20.0230.02710.87
5.2.10.0030.02710.96
5.2.00.0000.03010.70
5.1.60.0070.0239.85
5.1.50.0070.02310.04
5.1.40.0770.02010.14
5.1.30.1070.02710.27
5.1.20.1030.03010.31
5.1.10.1130.02010.05
5.1.00.1000.02310.08
5.0.50.0600.0208.43
5.0.40.0630.0178.35
5.0.30.0570.0378.32
5.0.20.0670.0178.26
5.0.10.0600.0208.33
5.0.00.0470.0308.31
4.4.90.0500.0178.08
4.4.80.0470.0178.08
4.4.70.0600.0138.08
4.4.60.0470.0138.08
4.4.50.0770.0138.08
4.4.40.0600.0238.08
4.4.30.0530.0208.08
4.4.20.0330.0208.08
4.4.10.0030.0138.08
4.4.00.0000.0238.08
4.3.110.0000.0178.08
4.3.100.0000.0138.08
4.3.90.0000.0208.08
4.3.80.0030.0208.08
4.3.70.0000.0138.08
4.3.60.0170.0138.08
4.3.50.0570.0178.08
4.3.40.0670.0238.08
4.3.30.0400.0178.08
4.3.20.0300.0178.08
4.3.10.0330.0138.08
4.3.00.0300.0178.08

preferences:
41.03 ms | 401 KiB | 5 Q