3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i='4N4P19N7P1N1P2N2P'; preg_match_all('/(\d+)(\w)/',$argv[1],$m,2); $o='';foreach($m as $p)$o.=str_repeat($p[2]=='N'?'=':'-',$p[1]); //$a=str_repeat('_',$n=strlen($o=str_replace('--','- ',$o))); $a=preg_replace('/./','_',$o);//=str_replace('--','- ',$o)); echo("$a\n\n\n$o\n\n$a\n");

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.40.0100.01018.92
8.3.30.0040.01119.02
8.3.20.0050.00320.35
8.3.10.0090.00021.94
8.3.00.0040.00419.50
8.2.170.0160.00322.96
8.2.160.0060.01020.35
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00919.40
8.2.110.0060.00320.52
8.2.100.0090.00318.16
8.2.90.0040.00419.30
8.2.80.0040.00417.97
8.2.70.0030.00617.88
8.2.60.0040.00418.16
8.2.50.0060.00318.07
8.2.40.0040.00420.01
8.2.30.0050.00318.18
8.2.20.0040.00417.86
8.2.10.0000.00818.29
8.2.00.0050.00317.99
8.1.270.0030.00618.84
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00321.97
8.1.230.0040.00720.84
8.1.220.0030.00517.74
8.1.210.0060.00318.77
8.1.200.0030.00617.48
8.1.190.0000.00817.38
8.1.180.0040.00418.10
8.1.170.0070.00418.37
8.1.160.0070.00022.11
8.1.150.0050.00318.93
8.1.140.0000.00817.68
8.1.130.0000.00717.69
8.1.120.0030.00317.57
8.1.110.0090.00017.68
8.1.100.0000.00817.59
8.1.90.0040.00417.62
8.1.80.0040.00417.63
8.1.70.0080.00017.58
8.1.60.0080.00017.79
8.1.50.0030.00617.58
8.1.40.0090.00017.69
8.1.30.0030.00517.68
8.1.20.0040.00417.80
8.1.10.0000.00817.61
8.1.00.0060.00317.69
8.0.300.0040.00418.77
8.0.290.0000.00716.88
8.0.280.0030.00318.37
8.0.270.0040.00417.30
8.0.260.0060.00017.06
8.0.250.0000.00717.07
8.0.240.0030.00317.08
8.0.230.0030.00517.23
8.0.220.0040.00417.14
8.0.210.0070.00017.03
8.0.200.0000.00717.15
8.0.190.0000.00717.17
8.0.180.0000.00817.05
8.0.170.0000.00817.20
8.0.160.0000.00717.02
8.0.150.0000.00717.13
8.0.140.0030.00317.16
8.0.130.0000.00613.61
8.0.120.0080.00017.11
8.0.110.0000.00717.13
8.0.100.0050.00317.15
8.0.90.0040.00417.01
8.0.80.0100.00717.13
8.0.70.0070.00017.15
8.0.60.0080.00017.06
8.0.50.0000.00816.93
8.0.30.0120.01417.38
8.0.20.0120.01117.40
8.0.10.0000.00817.09
8.0.00.0100.00917.05
7.4.330.0020.00215.07
7.4.320.0040.00416.72
7.4.300.0030.00316.72
7.4.290.0070.00016.84
7.4.280.0080.00016.72
7.4.270.0000.00716.82
7.4.260.0000.00816.83
7.4.250.0000.00816.80
7.4.240.0020.00616.77
7.4.230.0030.00316.93
7.4.220.0100.01316.87
7.4.210.0120.00516.80
7.4.200.0000.00716.70
7.4.160.0100.00616.71
7.4.150.0030.01617.40
7.4.140.0140.00617.86
7.4.130.0050.01416.78
7.4.120.0120.00516.84
7.4.110.0090.01216.65
7.4.100.0180.00016.61
7.4.90.0070.01116.79
7.4.80.0120.00619.39
7.4.70.0110.00716.82
7.4.60.0190.00316.74
7.4.50.0060.00316.77
7.4.40.0110.00516.68
7.4.30.0090.00916.70
7.4.10.0070.00715.21
7.4.00.0050.01415.04
7.3.330.0000.00513.30
7.3.320.0100.00513.45
7.3.310.0030.00316.49
7.3.300.0030.00316.55
7.3.290.0010.01316.55
7.3.280.0090.00916.58
7.3.270.0050.01317.40
7.3.260.0170.00016.60
7.3.250.0090.01116.74
7.3.240.0100.00716.58
7.3.230.0120.01216.59
7.3.210.0190.00316.61
7.3.200.0070.01019.39
7.3.190.0130.00316.74
7.3.180.0090.01216.71
7.3.170.0060.01016.67
7.3.160.0130.00616.55
7.3.130.0150.00315.31
7.3.120.0000.01614.88
7.3.110.0090.00915.23
7.3.100.0140.00315.24
7.3.90.0070.00715.10
7.3.80.0040.00414.88
7.3.70.0120.00015.02
7.3.60.0040.01114.86
7.3.50.0030.01014.92
7.3.40.0030.01214.69
7.3.30.0000.01315.07
7.3.20.0030.01216.65
7.3.10.0090.00616.93
7.3.00.0040.01216.89
7.2.330.0110.00716.87
7.2.320.0100.00716.90
7.2.310.0030.01416.68
7.2.300.0120.00616.71
7.2.290.0070.01716.79
7.2.260.0070.01115.30
7.2.250.0000.01815.36
7.2.240.0040.01115.12
7.2.230.0060.00615.27
7.2.220.0100.00614.82
7.2.210.0000.01315.26
7.2.200.0000.01615.22
7.2.190.0060.00915.07
7.2.180.0030.00715.25
7.2.170.0080.00615.19
7.2.160.0070.01015.06
7.2.150.0050.00517.06
7.2.140.0030.01016.87
7.2.130.0070.00717.13
7.2.120.0040.01116.86
7.2.110.0100.00717.18
7.2.100.0070.00717.16
7.2.90.0070.00717.09
7.2.80.0090.00617.07
7.2.70.0110.00317.24
7.2.60.0090.00617.16
7.2.50.0100.00316.90
7.2.40.0090.00617.29
7.2.30.0070.00417.11
7.2.20.0060.00917.11
7.2.10.0110.00417.17
7.2.00.0070.00818.42
7.1.330.0030.01016.12
7.1.320.0030.00615.81
7.1.310.0030.01016.23
7.1.300.0110.00015.95
7.1.290.0070.00716.02
7.1.280.0060.00316.13
7.1.270.0110.00315.73
7.1.260.0000.00816.21
7.1.250.0070.01015.95
7.1.240.0100.00316.00
7.1.230.0070.01016.14
7.1.220.0040.00816.05
7.1.210.0070.00715.91
7.1.200.0110.00316.18
7.1.190.0000.01215.66
7.1.180.0060.00915.91
7.1.170.0000.00915.75
7.1.160.0050.00515.73
7.1.150.0060.00915.97
7.1.140.0060.00315.84
7.1.130.0040.00416.14
7.1.120.0060.00615.89
7.1.110.0000.01016.02
7.1.100.0050.00917.24
7.1.90.0060.00915.79
7.1.80.0060.00916.08
7.1.70.0040.00616.65
7.1.60.0050.01417.82
7.1.50.0080.00716.64
7.1.40.0030.00616.11
7.1.30.0030.00816.12
7.1.20.0080.00415.84
7.1.10.0060.00615.98
7.1.00.0060.04019.27
7.0.330.0100.00615.58
7.0.320.0000.01415.40
7.0.310.0060.00615.60
7.0.300.0000.01015.58
7.0.290.0040.00915.46
7.0.280.0100.00315.58
7.0.270.0070.00715.36
7.0.260.0000.01115.71
7.0.250.0040.00415.82
7.0.240.0030.01315.55
7.0.230.0070.01015.88
7.0.220.0100.00315.61
7.0.210.0060.00315.62
7.0.200.0430.00715.09
7.0.190.0080.00415.53
7.0.180.0030.00715.70
7.0.170.0030.00915.52
7.0.160.0130.00315.34
7.0.150.0030.01015.57
7.0.140.0030.03518.66
7.0.130.0070.00715.63
7.0.120.0070.00315.56
7.0.110.0070.01115.69
7.0.100.0040.01115.38
7.0.90.0000.01315.50
7.0.80.0070.00315.76
7.0.70.0030.01315.64
7.0.60.0060.03817.71
7.0.50.0050.02316.74
7.0.40.0050.04116.82
7.0.30.0090.02716.67
7.0.20.0210.03916.85
7.0.10.0020.02816.90
7.0.00.0030.04116.84
5.6.400.0050.00914.25
5.6.390.0060.00614.31
5.6.380.0030.00614.68
5.6.370.0040.00814.61
5.6.360.0060.00614.74
5.6.350.0030.01314.36
5.6.340.0140.00014.57
5.6.330.0090.00614.39
5.6.320.0100.00314.55
5.6.310.0050.00514.45
5.6.300.0060.00614.51
5.6.290.0050.00514.42
5.6.280.0130.03317.63
5.6.270.0040.01414.29
5.6.260.0160.00314.62
5.6.250.0060.01314.64
5.6.240.0070.00714.48
5.6.230.0000.01514.30
5.6.220.0040.01414.53
5.6.210.0020.02617.34
5.6.200.0030.02616.31
5.6.190.0070.02817.47
5.6.180.0300.03817.36
5.6.170.0150.02317.50
5.6.160.0080.02117.40
5.6.150.0080.04216.24
5.6.140.0080.04616.20
5.6.130.0090.04616.33
5.6.120.0070.04717.88
5.6.110.0050.04217.62
5.6.100.0080.04317.70
5.6.90.0130.03917.66
5.6.80.0020.03717.42
5.6.70.0080.00614.23
5.6.60.0030.00614.32
5.6.50.0040.00814.32
5.6.40.0040.00714.42
5.6.30.0120.00614.18
5.6.20.0030.01314.19
5.6.10.0060.00914.34
5.6.00.0100.00314.16
5.5.380.0030.00914.29
5.5.370.0030.01014.40
5.5.360.0030.01013.88
5.5.350.0120.04217.49
5.5.340.0040.04416.13
5.5.330.0100.02717.27
5.5.320.0170.04017.23
5.5.310.0130.03117.30
5.5.300.0090.03616.14
5.5.290.0110.03116.18
5.5.280.0140.03817.63
5.5.270.0080.02517.58
5.5.260.0020.04817.61
5.5.250.0070.03717.29
5.5.240.0050.02217.27
5.5.230.0030.01014.27
5.5.220.0040.00814.37
5.5.210.0000.00914.42
5.5.200.0070.01114.30
5.5.190.0030.01414.42
5.5.180.0130.00314.35
5.5.170.0080.00814.30
5.5.160.0070.00714.02
5.5.150.0070.00814.25
5.5.140.0090.00614.52
5.5.130.0030.00513.97
5.5.120.0040.00813.95
5.5.110.0030.01013.95
5.5.100.0050.00714.26
5.5.90.0130.00313.92
5.5.80.0030.00614.34
5.5.70.0000.01414.36
5.5.60.0070.00714.27
5.5.50.0070.01014.35
5.5.40.0070.01014.06
5.5.30.0090.00614.51
5.5.20.0060.00614.11
5.5.10.0070.00414.46
5.5.00.0070.00314.09
5.4.450.0180.03315.96
5.4.440.0090.02915.78
5.4.430.0090.03015.84
5.4.420.0130.03016.06
5.4.410.0080.03315.63
5.4.400.0500.03715.58
5.4.390.0500.03015.50
5.4.380.0430.02915.46
5.4.370.0580.02515.56
5.4.360.0760.03115.60
5.4.350.0700.03215.58
5.4.340.0420.03115.52
5.4.330.0000.00712.46
5.4.320.0540.04015.62
5.4.310.1000.03315.55
5.4.300.0510.03815.52
5.4.290.0840.03015.53
5.4.280.0560.04115.62
5.4.270.1020.03515.60
5.4.260.0630.03315.53
5.4.250.0570.03215.48
5.4.240.0650.03515.60
5.4.230.0820.03515.53
5.4.220.0450.03215.54
5.4.210.0720.03415.54
5.4.200.0580.02814.50
5.4.190.0600.04415.46
5.4.180.1020.03015.46
5.4.170.1380.03015.46
5.4.160.0580.03615.54
5.4.150.1120.03115.52
5.4.140.0550.03014.26
5.4.130.1230.02814.26
5.4.120.0480.02814.39
5.4.110.0420.02914.36
5.4.100.1060.03614.36
5.4.90.0470.02714.35
5.4.80.1150.03214.24
5.4.70.1310.03514.26
5.4.60.0470.02814.26
5.4.50.0980.03114.25
5.4.40.0380.03014.28
5.4.30.0430.02814.37
5.4.20.1120.02714.25
5.4.10.0570.03014.25
5.4.00.1320.03614.09
5.3.290.1070.05314.71
5.3.280.1100.04014.62
5.3.270.1100.05314.64
5.3.260.1370.06314.60
5.3.250.0830.05714.76
5.3.240.0830.05014.57
5.3.230.0830.06014.56
5.3.220.2400.05714.56
5.3.210.1130.07014.48
5.3.200.1100.07314.52
5.3.190.1630.05714.49
5.3.180.1230.06714.52
5.3.170.0800.05014.59
5.3.160.1070.07714.59
5.3.150.0400.07314.47
5.3.140.0400.06314.46
5.3.130.0370.07314.52
5.3.120.0230.06714.61
5.3.110.0200.06714.57
5.3.100.0300.06013.95
5.3.90.0670.05313.98
5.3.80.0300.05714.02
5.3.70.0300.06313.97
5.3.60.0400.05713.95
5.3.50.0200.07313.93
5.3.40.0300.06313.97
5.3.30.0300.06013.88
5.3.20.0270.06013.65
5.3.10.0300.05013.57
5.3.00.0330.05313.62
5.2.170.0300.03311.07
5.2.160.0200.04011.18
5.2.150.0100.05011.18
5.2.140.0230.03311.17
5.2.130.0270.04711.11
5.2.120.0230.05011.13
5.2.110.0370.04711.12
5.2.100.0300.04011.16
5.2.90.0100.05311.15
5.2.80.0000.05311.13
5.2.70.0230.03011.13
5.2.60.0230.03711.00
5.2.50.0200.04010.98
5.2.40.0170.04011.06
5.2.30.0130.04311.03
5.2.20.0230.03010.98
5.2.10.0170.03710.90
5.2.00.0600.04710.72
5.1.60.0230.0279.97
5.1.50.0170.04710.05
5.1.40.0200.04710.07
5.1.30.0100.05710.42
5.1.20.0170.05310.41
5.1.10.0200.03310.20
5.1.00.0400.03010.14
5.0.50.0130.0308.66
5.0.40.0100.0278.40
5.0.30.0070.0478.33
5.0.20.0130.0338.18
5.0.10.0170.0308.35
5.0.00.0100.0438.18
4.4.90.0070.0235.88
4.4.80.0070.0275.91
4.4.70.0070.0235.83
4.4.60.0070.0235.86
4.4.50.0200.0205.90
4.4.40.0030.0405.91
4.4.30.0070.0235.89
4.4.20.0030.0275.93
4.4.10.0100.0235.93
4.4.00.0100.0335.84
4.3.110.0170.0175.84
4.3.100.0030.0335.85
4.3.90.0070.0305.80
4.3.80.0130.0335.82
4.3.70.0100.0175.81
4.3.60.0070.0305.78
4.3.50.0100.0275.80
4.3.40.0070.0405.84
4.3.30.0030.0304.54
4.3.20.0030.0274.53
4.3.10.0070.0234.57
4.3.00.0100.0207.15

preferences:
46.53 ms | 400 KiB | 5 Q