3v4l.org

run code in 300+ PHP versions simultaneously
<?php $signexceptions = array('2' => 'Z','1' => 'P'); $code = '100'; foreach($signexceptions as $se => $type){ //checken als code begint met exception en mag maar 1 keer checken if( strpos($code,$se) === 0){ echo $se.' YES'.PHP_EOL; } else{ echo $se.' NO'.PHP_EOL; } }

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.0140.00018.46
8.3.30.0100.00318.96
8.3.20.0040.00420.29
8.3.10.0050.00323.66
8.3.00.0040.00419.26
8.2.170.0060.00922.96
8.2.160.0030.01022.16
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0060.00321.19
8.2.110.0030.00619.38
8.2.100.0040.00817.78
8.2.90.0000.00719.08
8.2.80.0080.00017.97
8.2.70.0090.00017.63
8.2.60.0120.00317.65
8.2.50.0050.00318.07
8.2.40.0070.00418.16
8.2.30.0050.00317.91
8.2.20.0050.00217.73
8.2.10.0050.00217.99
8.2.00.0030.00617.73
8.1.270.0120.00323.99
8.1.260.0050.00326.35
8.1.250.0030.00528.09
8.1.240.0080.00322.02
8.1.230.0070.00420.94
8.1.220.0060.00318.77
8.1.210.0030.00519.18
8.1.200.0060.00317.25
8.1.190.0030.00517.13
8.1.180.0000.00718.10
8.1.170.0080.00018.28
8.1.160.0050.00322.00
8.1.150.0080.00018.85
8.1.140.0070.00017.44
8.1.130.0040.00417.87
8.1.120.0040.00417.49
8.1.110.0030.00517.47
8.1.100.0000.00717.43
8.1.90.0070.00417.37
8.1.80.0040.00417.35
8.1.70.0030.00317.46
8.1.60.0000.00817.58
8.1.50.0040.00417.55
8.1.40.0040.00417.54
8.1.30.0040.00417.67
8.1.20.0000.00817.47
8.1.10.0070.00017.57
8.1.00.0020.00517.46
8.0.300.0000.00919.83
8.0.290.0030.00616.75
8.0.280.0000.00718.43
8.0.270.0070.00017.25
8.0.260.0030.00319.04
8.0.250.0030.00316.94
8.0.240.0040.00416.98
8.0.230.0050.00216.91
8.0.220.0000.00716.77
8.0.210.0040.00416.91
8.0.200.0030.00316.96
8.0.190.0030.00316.93
8.0.180.0040.00416.84
8.0.170.0040.00416.93
8.0.160.0000.00716.81
8.0.150.0020.00516.82
8.0.140.0030.00416.85
8.0.130.0060.00013.38
8.0.120.0050.00316.83
8.0.110.0040.00416.71
8.0.100.0070.00016.85
8.0.90.0050.00316.73
8.0.80.0040.01216.84
8.0.70.0000.00716.87
8.0.60.0040.00416.85
8.0.50.0000.00716.70
8.0.30.0160.00516.92
8.0.20.0170.00217.40
8.0.10.0040.00417.01
8.0.00.0050.01416.68
7.4.330.0000.00615.00
7.4.320.0060.00016.49
7.4.300.0030.00316.59
7.4.290.0000.00716.42
7.4.280.0000.00716.50
7.4.270.0070.00016.53
7.4.260.0060.00316.47
7.4.250.0000.00816.47
7.4.240.0020.00516.56
7.4.230.0070.00016.68
7.4.220.0070.00016.68
7.4.210.0090.01216.60
7.4.200.0040.00416.47
7.4.160.0060.00916.57
7.4.150.0140.00717.40
7.4.140.0120.01117.86
7.4.130.0130.01016.34
7.4.120.0100.00716.67
7.4.110.0060.01216.74
7.4.100.0070.01016.50
7.4.90.0060.01316.46
7.4.80.0120.00619.39
7.4.70.0130.00316.57
7.4.60.0000.01716.59
7.4.50.0000.00416.09
7.4.40.0030.01316.66
7.4.30.0100.01016.64
7.4.00.0060.00914.88
7.3.330.0030.00413.26
7.3.320.0020.00213.21
7.3.310.0060.00016.41
7.3.300.0060.00016.34
7.3.290.0090.00616.35
7.3.280.0030.01416.32
7.3.270.0070.01017.40
7.3.260.0140.00316.41
7.3.240.0100.00916.60
7.3.230.0070.01016.56
7.3.210.0150.00416.50
7.3.200.0100.00619.39
7.3.190.0100.00616.41
7.3.180.0150.00416.50
7.3.170.0110.00516.35
7.3.160.0110.00616.38
7.2.330.0070.01016.72
7.2.320.0090.00916.67
7.2.310.0060.01116.46
7.2.300.0100.00716.53
7.2.290.0090.00616.42
7.2.110.0070.00716.46
7.2.100.0030.01016.63
7.2.90.0070.00316.69
7.2.80.0060.00616.55
7.2.70.0100.00317.13
7.2.60.0020.01216.97
7.2.50.0000.01516.99
7.2.40.0120.00016.61
7.2.30.0060.00316.81
7.2.20.0040.00816.96
7.2.10.0070.00716.96
7.2.00.0060.00718.15
7.1.230.0040.00415.73
7.1.220.0030.00915.77
7.1.210.0040.01115.72
7.1.200.0030.01115.88
7.1.190.0060.00615.68
7.1.180.0060.00615.85
7.1.170.0000.01215.82
7.1.160.0070.00715.50
7.1.150.0000.01415.86
7.1.140.0040.00415.78
7.1.130.0120.00015.73
7.1.120.0080.00015.91
7.1.110.0000.00815.80
7.1.100.0080.00017.03
7.1.90.0060.00315.75
7.1.80.0070.00315.71
7.1.70.0050.00816.52
7.1.60.0090.01217.65
7.1.50.0070.01516.30
7.1.40.0060.01016.10
7.1.30.0100.00015.48
7.1.20.0070.01015.94
7.1.10.0060.00315.78
7.1.00.0030.04118.95
7.0.310.0100.00015.43
7.0.300.0030.00715.22
7.0.290.0030.00715.25
7.0.280.0070.00415.46
7.0.270.0050.00515.48
7.0.260.0100.00315.28
7.0.250.0070.00315.52
7.0.240.0040.01115.27
7.0.230.0060.00615.48
7.0.220.0040.00415.41
7.0.210.0000.01115.50
7.0.200.0020.01016.10
7.0.190.0030.00515.26
7.0.180.0080.00615.16
7.0.170.0060.00615.32
7.0.160.0030.00915.25
7.0.150.0030.00715.43
7.0.140.0060.04018.75
7.0.130.0090.00615.20
7.0.120.0030.01015.48
7.0.110.0000.01315.36
7.0.100.0070.00715.52
7.0.90.0070.00615.30
7.0.80.0060.00315.32
7.0.70.0040.00715.41
7.0.60.0080.03517.58
7.0.50.0060.02516.75
7.0.40.0070.04216.98
7.0.30.0160.04116.81
7.0.20.0250.03716.77
7.0.10.0050.04916.73
7.0.00.0080.04116.88
5.6.380.0060.00614.16
5.6.370.0030.01013.96
5.6.360.0030.01314.61
5.6.350.0040.00714.38
5.6.340.0100.00614.52
5.6.330.0070.00714.55
5.6.320.0060.00614.57
5.6.310.0110.00314.21
5.6.300.0100.00314.29
5.6.290.0060.00613.98
5.6.280.0100.03517.66
5.6.270.0090.00414.43
5.6.260.0000.01114.29
5.6.250.0070.00714.55
5.6.240.0040.01114.38
5.6.230.0090.00314.65
5.6.220.0070.00714.25
5.6.210.0060.04017.62
5.6.200.0050.04716.28
5.6.190.0070.02517.44
5.6.180.0300.03717.21
5.6.170.0150.03717.36
5.6.160.0090.02317.38
5.6.150.0090.02016.21
5.6.140.0070.04316.17
5.6.130.0050.04716.34
5.6.120.0080.02317.78
5.6.110.0080.03517.65
5.6.100.0090.03517.62
5.6.90.0120.03817.48
5.6.80.0100.02817.29
5.6.70.0070.00714.38
5.6.60.0090.00614.51
5.6.50.0040.01114.43
5.6.40.0030.00914.43
5.6.30.0040.00714.02
5.6.20.0060.00314.19
5.6.10.0130.00014.09
5.6.00.0030.00514.27
5.5.380.0030.00711.13
5.5.370.0030.00610.83
5.5.360.0040.00411.10
5.5.350.0080.04315.65
5.5.340.0080.02214.37
5.5.330.0070.04515.57
5.5.320.0020.04515.74
5.5.310.0130.04315.65
5.5.300.0030.02314.45
5.5.290.0070.04114.39
5.5.280.0070.04315.80
5.5.270.0100.04215.84
5.5.260.0090.04016.09
5.5.250.0040.03215.90
5.5.240.0050.04315.73
5.5.230.0070.00010.88
5.5.220.0060.00011.04
5.5.210.0040.00410.91
5.5.200.0000.00510.95
5.5.190.0070.00011.25
5.5.180.0060.00611.12
5.5.170.0000.01114.39
5.5.160.0020.00911.11
5.5.150.0030.00811.02
5.5.140.0030.00610.84
5.5.130.0040.00410.95
5.5.120.0030.00811.04
5.5.110.0040.00410.97
5.5.100.0070.00410.88
5.5.90.0060.00610.74
5.5.80.0060.00611.11
5.5.70.0000.00711.02
5.5.60.0070.00311.07
5.5.50.0060.00610.95
5.5.40.0030.00710.61
5.5.30.0030.00611.11
5.5.20.0100.00010.86
5.5.10.0000.01010.95
5.5.00.0030.00711.01
5.4.450.0160.02215.14
5.4.440.0140.02515.25
5.4.430.0200.03115.20
5.4.420.0120.02415.16
5.4.410.0120.02215.04
5.4.400.0160.02615.09
5.4.390.0160.02314.85
5.4.380.0120.02215.05
5.4.370.0100.02514.82
5.4.360.0150.02015.01
5.4.350.0120.02314.98
5.4.340.0170.03715.02
5.4.330.0100.00010.93
5.4.320.0170.03815.11
5.4.310.0100.02315.03
5.4.300.0200.02714.95
5.4.290.0150.02514.95
5.4.280.0150.03514.85
5.4.270.0150.02015.09
5.4.260.0150.02315.01
5.4.250.0130.02114.91
5.4.240.0240.03514.93
5.4.230.0210.02114.91
5.4.220.0220.03514.99
5.4.210.0180.02515.17
5.4.200.0170.02914.93
5.4.190.0130.03214.99
5.4.180.0180.03314.88
5.4.170.0220.02514.85
5.4.160.0170.02014.85
5.4.150.0130.02714.99
5.4.140.0230.01913.74
5.4.130.0230.03613.72
5.4.120.0150.03813.77
5.4.110.0170.02313.79
5.4.100.0150.02613.66
5.4.90.0280.02113.71
5.4.80.0150.02013.55
5.4.70.0200.01813.71
5.4.60.0130.02013.71
5.4.50.0260.01813.74
5.4.40.0240.03513.64
5.4.30.0170.01913.54
5.4.20.0200.02413.74
5.4.10.0150.02913.71
5.4.00.0170.02713.21
5.3.290.0100.03012.66
5.3.280.0150.02312.54
5.3.270.0120.02812.59
5.3.260.0140.02112.65
5.3.250.0130.02912.58
5.3.240.0220.02312.60
5.3.230.0300.01612.53
5.3.220.0180.03312.58
5.3.210.0160.02212.56
5.3.200.0150.04112.52
5.3.190.0220.03312.51
5.3.180.0200.03212.51
5.3.170.0240.03012.56
5.3.160.0180.02212.54
5.3.150.0190.01712.51
5.3.140.0200.03712.51
5.3.130.0230.03012.53
5.3.120.0180.02712.54
5.3.110.0170.03212.56
5.3.100.0150.02312.28
5.3.90.0120.03812.23
5.3.80.0120.02312.28
5.3.70.0220.03312.20
5.3.60.0150.02512.25
5.3.50.0200.03312.24
5.3.40.0150.03512.27
5.3.30.0100.02112.16
5.3.20.0200.02112.08
5.3.10.0230.02912.10
5.3.00.0130.02012.08
5.2.170.0070.03010.85
5.2.160.0070.02210.89
5.2.150.0130.02210.90
5.2.140.0120.03210.84
5.2.130.0150.01810.86
5.2.120.0150.01510.87
5.2.110.0130.03110.82
5.2.100.0200.01510.78
5.2.90.0170.01810.93
5.2.80.0150.02710.87
5.2.70.0280.02710.77
5.2.60.0170.02510.85
5.2.50.0130.01810.84
5.2.40.0120.01710.73
5.2.30.0140.01710.72
5.2.20.0150.02310.74
5.2.10.0180.01610.81
5.2.00.0150.02810.77
5.1.60.0130.01610.27
5.1.50.0080.01810.29
5.1.40.0120.02210.24
5.1.30.0120.01510.43
5.1.20.0120.01610.46
5.1.10.0140.02310.36
5.1.00.0100.02210.38
5.0.50.0070.0239.62
5.0.40.0110.0219.45
5.0.30.0080.0159.46
5.0.20.0070.0139.36
5.0.10.0050.0129.38
5.0.00.0050.0179.35
4.4.90.0100.0079.14
4.4.80.0100.0159.14
4.4.70.0030.0119.14
4.4.60.0070.0159.14
4.4.50.0070.0159.14
4.4.40.0080.0239.14
4.4.30.0040.0099.14
4.4.20.0050.0199.14
4.4.10.0050.0089.14
4.4.00.0050.0139.14
4.3.110.0030.0119.14
4.3.100.0090.0159.14
4.3.90.0070.0139.14
4.3.80.0030.0149.14
4.3.70.0070.0109.14
4.3.60.0080.0169.14
4.3.50.0030.0139.14
4.3.40.0020.0159.14
4.3.30.0030.0209.14
4.3.20.0050.0179.14
4.3.10.0020.0139.14
4.3.00.0050.0089.14

preferences:
45.76 ms | 400 KiB | 5 Q