3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Active assert and make it quiet assert_options(ASSERT_ACTIVE, 1); // Set up the callback assert_options(ASSERT_CALLBACK, 'phpinfo'); // Make an assertion that should fail assert('2 < 1'); assert('2 < 1', '<img src=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.60.0150.00318.43
8.3.50.0160.00421.09
8.3.40.0140.00018.59
8.3.30.0050.01019.00
8.3.20.0050.00320.39
8.3.10.0050.00322.00
8.3.00.0040.00422.43
8.2.180.0120.00916.63
8.2.170.0090.00622.96
8.2.160.0040.01119.08
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0070.01026.16
8.2.120.0030.00519.41
8.2.110.0060.00322.11
8.2.100.0120.00019.31
8.2.90.0000.00719.11
8.2.80.0030.00517.97
8.2.70.0030.00617.63
8.2.60.0080.00017.80
8.2.50.0070.00418.07
8.2.40.0080.00018.03
8.2.30.0050.00417.84
8.2.20.0070.00017.48
8.2.10.0000.00717.61
8.2.00.0050.00517.61
8.1.280.0100.00325.92
8.1.270.0090.00018.36
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00323.82
8.1.230.0040.00719.10
8.1.220.0070.00417.74
8.1.210.0040.00418.77
8.1.200.0090.00017.35
8.1.190.0000.00817.40
8.1.180.0000.00818.66
8.1.170.0050.00218.46
8.1.160.0070.00022.00
8.1.150.0000.00718.50
8.1.140.0040.00417.39
8.1.130.0040.00417.69
8.1.120.0050.00217.30
8.1.110.0110.00017.38
8.1.100.0000.00717.20
8.1.90.0070.00017.31
8.1.80.0050.00217.21
8.1.70.0000.00717.28
8.1.60.0060.00317.48
8.1.50.0040.00417.47
8.1.40.0070.00017.32
8.1.30.0040.00417.47
8.1.20.0030.00717.60
8.1.10.0040.00417.41
8.1.00.0000.00817.33
8.0.300.0000.00818.77
8.0.290.0060.00317.05
8.0.280.0070.00018.34
8.0.270.0070.00017.11
8.0.260.0080.00016.74
8.0.250.0070.00016.88
8.0.240.0080.00016.93
8.0.230.0030.00316.91
8.0.220.0040.00416.81
8.0.210.0070.00016.86
8.0.200.0030.00316.92
8.0.190.0030.00316.96
8.0.180.0040.00316.82
8.0.170.0080.00016.72
8.0.160.0060.00316.82
8.0.150.0030.00316.72
8.0.140.0000.00716.76
8.0.130.0050.00013.19
8.0.120.0000.00816.81
8.0.110.0040.00416.89
8.0.100.0070.00016.78
8.0.90.0000.00716.77
8.0.80.0030.01416.80
8.0.70.0040.00416.73
8.0.60.0000.00716.66
8.0.50.0000.00716.77
8.0.30.0060.01216.77
8.0.20.0070.01117.40
8.0.10.0040.00417.00
8.0.00.0150.00316.77
7.4.330.0030.00315.00
7.4.320.0070.00016.46
7.4.300.0030.00316.50
7.4.290.0030.00316.36
7.4.280.0070.00316.27
7.4.270.0030.00316.46
7.4.260.0000.00716.53
7.4.250.0030.00316.43
7.4.240.0050.00316.30
7.4.230.0070.00016.29
7.4.220.0030.01316.33
7.4.210.0060.01016.34
7.4.200.0050.00316.48
7.4.190.0070.00016.23
7.4.160.0200.00316.66
7.4.150.0090.00917.40
7.4.140.0030.01717.86
7.4.130.0070.01016.42
7.4.120.0090.01116.35
7.4.110.0060.01016.38
7.4.100.0140.00616.21
7.4.90.0070.01016.26
7.4.80.0120.00919.39
7.4.70.0130.00316.29
7.4.60.0110.00716.56
7.4.50.0030.00516.24
7.4.40.0030.01022.77
7.4.30.0100.01316.43
7.4.10.0060.01314.88
7.4.00.0100.00714.89
7.3.330.0000.00513.11
7.3.320.0000.00613.17
7.3.310.0030.00416.11
7.3.300.0040.00416.24
7.3.290.0070.00716.32
7.3.280.0070.00816.26
7.3.270.0150.00517.40
7.3.260.0110.00716.11
7.3.250.0100.00716.36
7.3.240.0100.00716.47
7.3.230.0000.01616.39
7.3.210.0030.01316.57
7.3.200.0070.01019.39
7.3.190.0120.00816.37
7.3.180.0140.00516.41
7.3.170.0090.00616.27
7.3.160.0070.01016.32
7.3.130.0110.00714.71
7.3.120.0080.01014.78
7.3.110.0130.00614.64
7.3.100.0070.01014.52
7.3.90.0000.01414.75
7.3.80.0030.01014.71
7.3.70.0070.00314.70
7.3.60.0040.01114.81
7.3.50.0030.00914.70
7.3.40.0030.01014.66
7.3.30.0110.00314.77
7.3.20.0060.00916.22
7.3.10.0060.00916.35
7.3.00.0110.00316.77
7.2.330.0030.01416.54
7.2.320.0110.00816.57
7.2.310.0140.01016.45
7.2.300.0060.01016.46
7.2.290.0030.01416.52
7.2.260.0000.01314.97
7.2.250.0070.01114.89
7.2.240.0130.00314.79
7.2.230.0040.01414.77
7.2.220.0060.01314.97
7.2.210.0040.01114.69
7.2.200.0100.00714.88
7.2.190.0000.01514.86
7.2.180.0090.00914.98
7.2.170.0090.00614.84
7.2.160.0030.01014.82
7.2.150.0030.01316.48
7.2.140.0070.00716.45
7.2.130.0100.00016.86
7.2.120.0030.01316.55
7.2.110.0030.01316.54
7.2.100.0180.00016.48
7.2.90.0060.01016.72
7.2.80.0070.01016.71
7.2.70.0090.00616.46
7.2.60.0020.01316.63
7.2.50.0070.00716.62
7.2.40.0090.00616.75
7.2.30.0040.01516.84
7.2.20.0030.01116.72
7.2.10.0040.00716.49
7.2.00.0020.01317.81
7.1.330.0030.01015.55
7.1.320.0120.00615.84
7.1.310.0100.00315.67
7.1.300.0090.00615.84
7.1.290.0030.01415.61
7.1.280.0130.00315.61
7.1.270.0100.00715.76
7.1.260.0060.00715.53
7.1.250.0000.01215.58
7.1.240.0060.00615.64
7.1.230.0040.00815.35
7.1.220.0040.00415.41
7.1.210.0000.01315.54
7.1.200.0080.00515.75
7.1.190.0060.00315.83
7.1.180.0000.01415.54
7.1.170.0030.01015.43
7.1.160.0070.01015.72
7.1.150.0120.00615.79
7.1.140.0060.00615.64
7.1.130.0030.00915.55
7.1.120.0070.00715.36
7.1.110.0060.00615.79
7.1.100.0040.00916.72
7.1.90.0040.01215.64
7.1.80.0030.01015.67
7.1.70.0050.00516.48
7.1.60.0080.00817.62
7.1.50.0070.00716.13
7.1.40.0040.00815.76
7.1.30.0030.01015.49
7.1.20.0060.00315.51
7.1.10.0040.01115.46
7.1.00.0060.03419.18
7.0.330.0070.01115.18
7.0.320.0050.00515.52
7.0.310.0060.00815.28
7.0.300.0100.00315.13
7.0.290.0100.00615.34
7.0.280.0070.00315.32
7.0.270.0110.00415.35
7.0.260.0000.00915.40
7.0.250.0040.00815.33
7.0.240.0040.01215.47
7.0.230.0060.00615.28
7.0.220.0030.00615.30
7.0.210.0100.00315.58
7.0.200.0070.00416.02
7.0.190.0060.01015.47
7.0.180.0070.00715.45
7.0.170.0000.01215.27
7.0.160.0070.00715.34
7.0.150.0060.00915.58
7.0.140.0060.03818.56
7.0.130.0030.00715.48
7.0.120.0000.01415.36
7.0.110.0040.01115.20
7.0.100.0070.00715.39
7.0.90.0080.00815.38
7.0.80.0030.00915.11
7.0.70.0070.00715.14
7.0.60.0060.03817.45
7.0.50.0060.03316.66
7.0.40.0090.02316.72
7.0.30.0220.04016.72
7.0.20.0190.02016.78
7.0.10.0160.04416.69
7.0.00.0080.02616.70
5.6.400.0030.00914.11
5.6.390.0060.01314.21
5.6.380.0040.00414.19
5.6.370.0090.00614.38
5.6.360.0090.00614.10
5.6.350.0060.00614.43
5.6.340.0100.00314.46
5.6.330.0060.00314.18
5.6.320.0040.01114.48
5.6.310.0030.00913.78
5.6.300.0080.00614.08
5.6.290.0070.00713.86
5.6.280.0080.03717.60
5.6.270.0000.01114.10
5.6.260.0030.00614.05
5.6.250.0090.00614.24
5.6.240.0090.00914.27
5.6.230.0030.01014.29
5.6.220.0070.00714.29
5.6.210.0100.02317.33
5.6.200.0070.04216.12
5.6.190.0030.04717.36
5.6.180.1920.02317.42
5.6.170.0130.04517.46
5.6.160.0050.02717.43
5.6.150.0070.04216.08
5.6.140.0070.02316.21
5.6.130.0070.02416.17
5.6.120.0030.02817.52
5.6.110.0170.03717.54
5.6.100.0060.03917.67
5.6.90.0020.04717.49
5.6.80.0120.04017.23
5.6.70.0090.00314.00
5.6.60.0000.01214.37
5.6.50.0000.01414.11
5.6.40.0070.01013.95
5.6.30.0080.00314.22
5.6.20.0090.00614.03
5.6.10.0000.01614.20
5.6.00.0090.00614.08
5.5.380.0000.01414.03
5.5.370.0030.00613.82
5.5.360.0070.00714.23
5.5.350.0110.04317.23
5.5.340.0080.03615.94
5.5.330.0120.04317.07
5.5.320.0130.02317.21
5.5.310.0160.04417.21
5.5.300.0050.03615.86
5.5.290.0060.02416.20
5.5.280.0040.02717.47
5.5.270.0030.02617.53
5.5.260.0100.04017.45
5.5.250.0100.03017.39
5.5.240.0140.03417.21
5.5.230.0000.01714.07
5.5.220.0060.00613.91
5.5.210.0060.00614.04
5.5.200.0040.01214.22
5.5.190.0040.01114.18
5.5.180.0000.00913.87
5.5.170.0070.00713.93
5.5.160.0100.00014.07
5.5.150.0030.00714.02
5.5.140.0030.00614.02
5.5.130.0090.00613.66
5.5.120.0060.01013.92
5.5.110.0070.00714.22
5.5.100.0030.01013.85
5.5.90.0000.01513.92
5.5.80.0120.00313.97
5.5.70.0030.00914.08
5.5.60.0000.01113.77
5.5.50.0090.00314.30
5.5.40.0070.00713.93
5.5.30.0030.01014.08
5.5.20.0060.01313.96
5.5.10.0100.00014.10
5.5.00.0060.00614.10
5.4.450.0390.02715.20
5.4.440.0460.03015.13
5.4.430.0470.02815.05
5.4.420.0020.03615.08
5.4.410.0350.04215.13
5.4.400.0230.03314.66
5.4.390.0260.02614.52
5.4.380.0210.02714.64
5.4.370.0080.03214.69
5.4.360.0100.03014.65
5.4.350.0190.06211.25
5.4.340.0110.04311.40
5.4.330.0030.00610.89
5.4.320.0040.02211.40
5.4.310.0070.02411.57
5.4.300.0040.02211.56
5.4.290.0020.02511.49
5.4.280.0020.02411.53
5.4.270.0050.02311.64
5.4.260.0040.02111.54
5.4.250.0080.04114.86
5.4.240.0050.04214.74
5.4.230.0070.03014.62
5.4.220.0030.03214.76
5.4.210.0030.03314.72
5.4.200.0100.04514.73
5.4.190.0020.03514.69
5.4.180.0080.02514.65
5.4.170.0030.03614.68
5.4.160.0120.03014.67
5.4.150.0030.03714.75
5.4.140.0130.02313.59
5.4.130.0080.02513.54
5.4.120.0000.03113.47
5.4.110.0020.03013.49
5.4.100.0070.02713.69
5.4.90.0100.02313.55
5.4.80.0070.02813.68
5.4.70.0050.02913.49
5.4.60.0080.02813.44
5.4.50.0060.02613.58
5.4.40.0050.02813.45
5.4.30.0100.02513.52
5.4.20.0100.02313.49
5.4.10.0080.02513.54
5.4.00.0070.02513.21
5.3.290.0060.02511.62
5.3.280.0050.02712.48
5.3.270.0050.04012.50
5.3.260.0100.02712.45
5.3.250.0070.03712.51
5.3.240.0050.03112.45
5.3.230.0100.03112.36
5.3.220.0080.02812.43
5.3.210.0020.03312.44
5.3.200.0050.02812.37
5.3.190.0100.02312.32
5.3.180.0080.03612.44
5.3.170.0060.02712.44
5.3.160.0080.02312.39
5.3.150.0070.03412.42
5.3.140.0080.02512.37
5.3.130.0030.03012.34
5.3.120.0060.02812.43
5.3.110.0050.02712.34
5.3.100.0080.02612.20
5.3.90.0080.02512.04
5.3.80.0100.03012.20
5.3.70.0040.02712.21
5.3.60.0050.03712.08
5.3.50.0030.03112.14
5.3.40.0050.03812.12
5.3.30.0070.02711.99
5.3.20.0030.03011.93
5.3.10.0030.02811.98
5.3.00.0020.02911.97
5.2.170.0030.04311.25
5.2.160.0000.04711.25
5.2.150.0130.03311.30
5.2.140.0030.04311.16
5.2.130.0070.03710.94
5.2.120.0030.04011.14
5.2.110.0030.04311.20
5.2.100.0030.04011.12
5.2.90.0070.03711.04
5.2.80.0070.05311.03
5.2.70.0070.04011.11
5.2.60.0000.04711.07
5.2.50.0030.05710.78
5.2.40.0070.03710.92
5.2.30.0070.03710.89
5.2.20.0200.02710.96
5.2.10.0030.04310.92
5.2.00.0070.04010.93
5.1.60.0030.0379.94
5.1.50.0070.04310.00
5.1.40.0030.03710.01
5.1.30.0000.04010.30
5.1.20.0000.04010.34
5.1.10.0170.03010.15
5.1.00.0030.0379.90
5.0.50.0070.0278.77
5.0.40.0000.0338.25
5.0.30.0070.0438.22
5.0.20.0070.0378.14
5.0.10.0100.0378.13
5.0.00.0000.0438.32
4.4.90.0070.0177.05
4.4.80.0000.0237.05
4.4.70.0030.0207.05
4.4.60.0000.0237.05
4.4.50.0030.0207.05
4.4.40.0000.0437.05
4.4.30.0030.0207.05
4.4.20.0030.0207.04
4.4.10.0030.0237.01
4.4.00.0070.0307.01
4.3.110.0000.0277.01
4.3.100.0000.0237.01
4.3.90.0000.0377.01
4.3.80.0030.0307.01
4.3.70.0030.0207.01
4.3.60.0000.0277.01
4.3.50.0000.0237.01
4.3.40.0030.0407.01
4.3.30.0030.0207.01
4.3.20.0030.0207.01
4.3.10.0100.0137.01
4.3.00.0170.0306.53

preferences:
51.65 ms | 401 KiB | 5 Q